mirror of
https://github.com/gradio-app/gradio.git
synced 2025-01-12 10:34:32 +08:00
4350215348
* Add code * Add code * add changeset * Add code * remove unused style * add changeset * Update js/app/src/Index.svelte Co-authored-by: Hannah <hannahblair@users.noreply.github.com> * Update guides/06_custom-components/06_frequently-asked-questions.md Co-authored-by: Hannah <hannahblair@users.noreply.github.com> * Update guides/06_custom-components/06_frequently-asked-questions.md Co-authored-by: Hannah <hannahblair@users.noreply.github.com> --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com> Co-authored-by: Hannah <hannahblair@users.noreply.github.com> |
||
---|---|---|
.. | ||
static | ||
CHANGELOG.md | ||
index.ts | ||
package.json | ||
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;