IProgressTypeProps
interface
Feedback & Status
Base props shared by all progress variants (linear and circular). Carries value, indeterminate mode, thickness, active flag, absolute positioning, max value, striped mode and an accessible label.
TypeScript
Definition
The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.
Inheritance
Extends
Parent interfaces this one inherits from. Their properties are available on every consumer of this interface.
API
Properties
Every property declared by this interface, with its type, optionality and default.
- indeterminateboolean
- Puts the progress bar in indeterminate mode — animates continuously without a value.
- modelValuestring | number
- Current progress value (v-model). Interpreted as a percentage between 0 and max.
- thicknessstring | number
- Track thickness. A number is resolved to px; a string is used verbatim.
- activeboolean
- Whether the progress indicator is visible. When false the element is hidden without being removed from the DOM.
- absoluteboolean
- Positions the progress bar absolutely (typically at the top of a container).
- maxnumber | string
- Maximum value. Defaults to 100.
- stripedboolean
- Adds a diagonal stripe pattern over the filled portion (linear only).
- labelstring
- Accessible aria-label for the progress bar. Defaults to "Loading" when omitted.
Ecosystem
Used by
Components and composables that extend or consume this interface.
Usage
Examples
Ready-to-paste code snippets using this interface.
Determinate progress bar with max and label