Type Alias ProgressBarOptions

ProgressBarOptions: {
    autoHide?: boolean;
    autoHideDelayMs?: number;
    clamp?: boolean;
    initialLoaded?: number;
    label?: (loaded: number, total: number, pct: number) => string;
}

Configuration for LoadingSpinner.

Type declaration

  • OptionalautoHide?: boolean

    When true, automatically hides the spinner when loading completes.

    Defaults to true.

  • OptionalautoHideDelayMs?: number

    Delay, in milliseconds, before auto-hiding after loading completes.

    Defaults to 300.

  • Optionalclamp?: boolean

    When true, clamps loaded progress to the range [0..total].

    Defaults to true.

  • OptionalinitialLoaded?: number

    Initial number of completed items.

    Defaults to 0.

  • Optionallabel?: (loaded: number, total: number, pct: number) => string

    Generates the secondary progress label.