gradio/js/statustracker
pngwn ca8864f514
chore: update versions (#8274)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-05-13 23:23:49 +00:00
..
static Fix bug where status tracker was the target of pointer events (#8261) 2024-05-13 12:06:32 -07:00
CHANGELOG.md chore: update versions (#8274) 2024-05-13 23:23:49 +00:00
index.ts
package.json chore: update versions (#8274) 2024-05-13 23:23:49 +00:00
README.md

@gradio/statustracker

<script>
    import {StatusTracker, Toast, Loader} from `@gradio/statustracker`;
</script>

StatusTracker

	export let i18n: I18nFormatter;
	export let eta: number | null = null;
	export let queue = false;
	export let queue_position: number | null;
	export let queue_size: number | null;
	export let status: "complete" | "pending" | "error" | "generating";
	export let scroll_to_output = false;
	export let timer = true;
	export let show_progress: "full" | "minimal" | "hidden" = "full";
	export let message: string | null = null;
	export let progress: LoadingStatus["progress"] | null | undefined = null;
	export let variant: "default" | "center" = "default";
	export let loading_text = "Loading...";
	export let absolute = true;
	export let translucent = false;
	export let border = false;
	export let autoscroll: boolean;

Toast

	export let messages: ToastMessage[] = [];

Loader

	export let margin = true;