gradio/js/multimodaltextbox
Hannah b9afe93915
Rename eventSource_Factory and fetch_implementation (#8209)
* rename eventSource_factory -> stream_factory + rename event_source -> steam

* rename fetch_implementation -> fetch

* rename fetch to _fetch due to global.fetch conflict

* add changeset

* format

* format

* format

* format

* fix

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-05-03 15:24:19 +02:00
..
shared Rename eventSource_Factory and fetch_implementation (#8209) 2024-05-03 15:24:19 +02:00
CHANGELOG.md chore: update versions (#8069) 2024-04-25 23:08:27 +00:00
Example.svelte Multimodal Textbox (Chat Input Component) (#7420) 2024-03-19 13:16:05 -07:00
Index.svelte Rename eventSource_Factory and fetch_implementation (#8209) 2024-05-03 15:24:19 +02:00
MultimodalTextbox.stories.svelte Multimodal Textbox (Chat Input Component) (#7420) 2024-03-19 13:16:05 -07:00
MultimodalTextbox.test.ts Multimodal Textbox (Chat Input Component) (#7420) 2024-03-19 13:16:05 -07:00
MultimodalTextboxExample.stories.svelte Multimodal Textbox (Chat Input Component) (#7420) 2024-03-19 13:16:05 -07:00
package.json chore: update versions (#8069) 2024-04-25 23:08:27 +00:00
README.md Multimodal Textbox (Chat Input Component) (#7420) 2024-03-19 13:16:05 -07:00

@gradio/multimodaltextbox

<script>
    import { BaseMultimodalTextbox, BaseExample } from "@gradio/multimodaltextbox";
</script>

BaseMultimodalTextbox

	export let value = "";
	export let value_is_output = false;
	export let lines = 1;
	export let placeholder = "Type here...";
	export let label: string;
	export let info: string | undefined = undefined;
	export let disabled = false;
	export let show_label = true;
	export let container = true;
	export let max_lines: number;
	export let type: "text" | "password" | "email" = "text";
	export let show_copy_button = false;
	export let rtl = false;
	export let autofocus = false;
	export let text_align: "left" | "right" | undefined = undefined;
	export let autoscroll = true;

BaseExample

	export let value: string;
	export let type: "gallery" | "table";
	export let selected = false;