IStepperProvide
interface
Provide / Inject
Injection contract provided by <OrigamStepper> to its OrigamStepperItem children. Exposes the active step ref, orientation, clickability flag, and inherited color for child coordination.
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.
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.
- modelValuerequisRef<number>
- Reactive ref holding the zero-based index of the currently active step.
- orientationrequisComputedRef<TStepperOrientation>
- Computed orientation of the stepper (horizontal or vertical). Used by children for layout.
- clickablerequisComputedRef<boolean>
- Computed flag indicating whether step headers are navigable by click.
- colorrequisComputedRef<string | undefined>
- Inherited color token propagated to step indicators.
Écosystème
Utilisé par
Composants et composables qui étendent ou consomment cette interface.
Usage
Exemples
Extraits de code prêts à coller utilisant cette interface.
Injecting the stepper context in a child