gradio/js/image
Yuichiro Tachibana (Tsuchiya) b67115e8e6
Lite: Make the Examples component display media files using pseudo HTTP requests to the Wasm server (#5627)
* Create a Wasm-compatible <Image> component in @gradio/lite and use it in @gradio/image/example/Image.svelte

* add changeset

* Fix Image styling

* Move js/wasm/svelte/Image.svelte -> js/image/static/Image.svelte

* Shorten CSS class name

* Create Wasm-compatible video components

* add changeset

* Move the Wasm-compatible `Image` from `static` to `shared`

* Create Wasm-compatible audio components

* Fix `resolve_wasm_src()` to return the passed `src` as-is when the URL is not HTTP or refering to remote

* add changeset

* Fix `resolve_wasm_src()`

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2023-10-17 01:26:49 +09:00
..
example Lite: Make the Examples component display media files using pseudo HTTP requests to the Wasm server (#5627) 2023-10-17 01:26:49 +09:00
interactive Accessibility Improvements (#5554) 2023-09-22 14:12:26 +02:00
shared Lite: Make the Examples component display media files using pseudo HTTP requests to the Wasm server (#5627) 2023-10-17 01:26:49 +09:00
static Accessibility Improvements (#5554) 2023-09-22 14:12:26 +02:00
CHANGELOG.md chore: update versions (#5796) 2023-10-05 14:10:45 -07:00
Image.stories.svelte Refactor component directories (#5074) 2023-08-03 23:01:18 +01:00
Image.test.ts delegate gradio events via a custom event dispatcher (#5279) 2023-08-23 21:48:10 +01:00
package.json Lite: Make the Examples component display media files using pseudo HTTP requests to the Wasm server (#5627) 2023-10-17 01:26:49 +09:00
README.md move files (#3605) 2023-03-27 16:12:58 -07:00

@gradio/button

<script>
	import { Button } from "@gradio/button";
</script>

<button type="primary|secondary" href="string" on:click="{e.detail === href}">
	content
</button>