Feature Description
Description:
Add support for configuring the indeterminate state via:
BProgress.start(indeterminate?: boolean)
Use Cases
Sometimes we need both determinate (default) and indeterminate loaders, depending on whether the loading time is known or not. A boolean flag makes it easy to switch between them.
// Default determinate loader
BProgress.start();
// Indeterminate loader (e.g. unknown duration)
BProgress.start(true);
Package
@bprogress/core
Additional context
No response