MtStep

props

KeyTypeDefaultDescription
isEnabledAutoPlaybooleantrueClick non-highlight element will auto go-to the next step.
modelValuenumber0You can use v-model to control step index
interface Props {  isEnabledAutoPlay?: boolean  modelValue?: number}

events

event nameparamsDescription
closeWhen 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
Table of Contents