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
Definition
The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.
API
Properties
Every property declared by this interface, with its type, optionality and default.
- modelValuerequiredRef<number>
- Reactive ref holding the zero-based index of the currently active step.
- orientationrequiredComputedRef<TStepperOrientation>
- Computed orientation of the stepper (horizontal or vertical). Used by children for layout.
- clickablerequiredComputedRef<boolean>
- Computed flag indicating whether step headers are navigable by click.
- colorrequiredComputedRef<string | undefined>
- Inherited color token propagated to step indicators.
Ecosystem
Used by
Components and composables that extend or consume this interface.
Usage
Examples
Ready-to-paste code snippets using this interface.
Injecting the stepper context in a child