gradio/js/button
Gradio PR Bot 4d520a8a7b
chore: update versions (#9908)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-11-15 16:16:39 -08:00
..
shared Fix the behavior of gr.LoginButton locally and on Spaces (#9659) 2024-10-15 22:13:34 -07:00
Button.stories.svelte 5.0 dev -> main (#8843) 2024-10-08 22:17:17 -07:00
CHANGELOG.md chore: update versions (#9908) 2024-11-15 16:16:39 -08:00
Index.svelte Refactors get_fetchable_url_or_file() to remove it from the frontend (#7528) 2024-02-26 13:01:00 -08:00
main.ts Initial SSR refactor (#9102) 2024-08-14 15:17:36 +01:00
package.json chore: update versions (#9908) 2024-11-15 16:16:39 -08:00
README.md Version 4 development branch (#5498) 2023-10-31 04:46:02 +00:00

@gradio/button

<script>
	import { BaseButton } from "@gradio/button";
	import { createEventDispatcher, tick, getContext } from "svelte";
	const dispatch = createEventDispatcher();
</script>

<BaseButton
	{value}
	{variant}
	{elem_id}
	{elem_classes}
	{size}
	{scale}
	{link}
	{icon}
	{min_width}
	{visible}
	{root}
	{root_url}
	on:click={() => dispatch("click")}
>
	{"My Button"}
</Button>