MtStep
props
| Key | Type | Default | Description |
|---|---|---|---|
isEnabledAutoPlay | boolean | true | Click non-highlight element will auto go-to the next step. |
modelValue | number | 0 | You can use v-model to control step index |
interface Props { isEnabledAutoPlay?: boolean modelValue?: number}events
| event name | params | Description |
|---|---|---|
| close | When index > all step's length will emit a close event | |
| update:modelValue | (newIndex: number) | When update index will emit this event, you can do something with event or use v-model to binding index |