pub fn Steps(props: StepsProps) -> impl IntoViewExpand description
Wizard step indicator.
Properties accept a value or a signal. active_index is driven by the owner: a click in interactive mode reports the new index
via on_active_index_change and updates active_index_signal if it is set.
ยงOptional Props
- model:
impl Into<Prop<Vec<StepsItem>>>- Items.
- active_index:
impl Into<Prop<usize>>- Current step (zero-based).
- active_index_signal:
RwSignal<usize>- Two-way signal of the current step: a click writes the index to it (instead of
active_index, if set).
- Two-way signal of the current step: a click writes the index to it (instead of
- readonly:
impl Into<Prop<bool>>- Display only: a click on the steps does nothing.
- exact:
impl Into<Prop<bool>>- PrimeNG compatibility property (there it affects only router links).
- style:
impl Into<OptProp<String>>- Inline style of the root.
- style_class:
impl Into<OptProp<String>>- Extra class of the root.
- pt:
StepsPt- Pass-through parts.
- on_active_index_change:
Callback<usize>- The current step was chosen by the user.