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.
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.
- 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.
É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