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

Définition

La définition TypeScript de l'interface telle que trouvée dans le code source d'origam. Cliquez sur l'icône de copie pour copier l'extrait.

typescript

Héritage

Hérite de

Interfaces parentes dont celle-ci hérite. Leurs propriétés sont disponibles pour tout consommateur de cette interface.

API

Propriétés

Chaque propriété déclarée par cette interface, avec son type, son caractère optionnel et sa valeur par défaut.

indeterminate
boolean
Puts the progress bar in indeterminate mode — animates continuously without a value.
modelValue
string | number
Current progress value (v-model). Interpreted as a percentage between 0 and max.
thickness
string | number
Track thickness. A number is resolved to px; a string is used verbatim.
active
boolean
Whether the progress indicator is visible. When false the element is hidden without being removed from the DOM.
absolute
boolean
Positions the progress bar absolutely (typically at the top of a container).
max
number | string
Maximum value. Defaults to 100.
striped
boolean
Adds a diagonal stripe pattern over the filled portion (linear only).
label
string
Accessible aria-label for the progress bar. Defaults to "Loading" when omitted.

Écosystème

Utilisé par

Composants et composables qui étendent ou consomment cette interface.

Usage

Exemples

Extraits de code prêts à coller utilisant cette interface.

Determinate progress bar with max and label

html