gradio/js/textbox
Abubakar Abid e7629f7eac
Adds copy event to gr.Markdown, gr.Chatbot, and gr.Textbox (#9979)
* add copy event

* add changeset

* test

* demo

* changes

* add changeset

* add list format

* typing

* notebook

* copy events'

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-11-19 19:58:19 +00:00
..
shared Adds copy event to gr.Markdown, gr.Chatbot, and gr.Textbox (#9979) 2024-11-19 19:58:19 +00:00
CHANGELOG.md chore: update versions (#9908) 2024-11-15 16:16:39 -08:00
Example.svelte
Index.svelte Adds copy event to gr.Markdown, gr.Chatbot, and gr.Textbox (#9979) 2024-11-19 19:58:19 +00:00
package.json chore: update versions (#9908) 2024-11-15 16:16:39 -08:00
README.md
Textbox.stories.svelte
Textbox.test.ts
TextboxExample.stories.svelte

@gradio/textbox

<script>
    import { BaseTextbox, BaseExample } from "@gradio/textbox";
</script>

BaseTextbox

	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;
	export let max_length: number | undefined = undefined;

BaseExample

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