UNPKG

@marcoschulte/vue3-progress

Version:

A fully customizable vue3 plugin to display a progress bar while waiting for something, e.g. http requests

14 lines (9 loc) 254 B
import {ProgressState} from './ProgressState'; export interface ProgressControls { start(): ProgressFinisher; attach<V, T extends PromiseLike<V>>(promise: T): T; state(): ProgressState; } export interface ProgressFinisher { finish(): void; }