gradio/js/statustracker
pngwn e1c404da11
setup npm-previews of all packages (#9118)
* add workflow

* fix pkg jsons

* workflow name

* add changeset

* fix

* add changeset

* fix build command

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-08-15 12:56:17 +01:00
..
static Fix dependency loop with statustracker and markdown (#8821) 2024-07-17 18:55:45 +00:00
CHANGELOG.md chore: update versions (#8960) 2024-08-08 11:20:08 +01:00
index.ts
package.json setup npm-previews of all packages (#9118) 2024-08-15 12:56:17 +01:00
README.md Version 4 development branch (#5498) 2023-10-31 04:46:02 +00:00

@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;