VcWizard

Basic usage:

VcWizard component is an indicator for the steps in a wizard workflow.
Set active-step attribute with Number type, which indicates the index of steps and starts from 0

General Information
(Index: 0 | key: general)

Wizard with Summary:

Step 1 of 3
Info
General Information
(Index: 0 | key: general)

1. General Information

First Name: 
Last Name: 

2. Additional Information

3. Final Setting

Attributes for Component

AttributeDescriptionTypeAccepted ValuesDefault
activeStepCurrent activation stepNumber---0
dataLoadingIs data loadingBooleantrue | falsefalse
showHeaderIs header visibleBooleantrue | falsetrue
showSummaryIs Summary visibleBooleantrue | falsetrue
heightHeight of WizardNumber | String---100%
stepsArray of steps. Step: { step: string, label: string, icon?: string, attrs?: object | string }Array---[]
summaryObject for summary info. { [key: string | number]: { label: string, value: unknown }}Object---{}

Slots

NameDescription
[step.prop]Name from Step prop attribute (step content). Computed slot with attributes: {step, index}
header-infoSlot on header (right content)
final-actionsSlot on navigation for additional final action

Events

MethodDescriptionParameters
update-stepEvent on click next / prev / summary item. Return step index and options ({isVisited: boolean})step, option
cancelEvent on click cancel button
finalEvent on click final button