Name | Type | Description |
---|---|---|
selector |
HTMLFormElement | String | |
options |
Object |
Members
-
Returns current step index
-
Returns all wizard steps
-
Returns form unique ID
Methods
-
-
-
-
Name Type Description label
String Returns:
Type Description Element -
Name Type Description item
Object index
Number -
-
-
-
-
Name Type Description e
Event -
Name Type Description e
Event -
Name Type Description oldStep
WizardStep direction
Number -
Name Type Description e
Event -
-
-
-
createFromTemplate (template)Zangdar
-
Create a wizard from an existing form with a template which is describes it
Name Type Description template
Object the wizard template
Returns:
Type Description Zangdar -
Destroys wizard instance
- TODO
-
-
Returns:
Type Description Object -
getCurrentStep ()WizardStep | null
-
Get the current step
Returns:
Type Description WizardStep | null the current WizardStep instance if exists, null otherwise -
Get wizard HTML form element
Returns:
Type Description HTMLFormElement -
getStep (key)WizardStep | null
-
Get a step
Name Type Description key
String | Number step index or label
Returns:
Type Description WizardStep | null WizardStep instance if exists, null otherwise -
next ()Zangdar
-
Reveal next step
Returns:
Type Description Zangdar -
prev ()Zangdar
-
Reveal previous step
Returns:
Type Description Zangdar -
refresh ()Zangdar
-
Refresh wizard instance
Returns:
Type Description Zangdar -
revealStep (value)Zangdar
-
Go to a step by label (data-step attribute value)
Name Type Description value
String | Number | WizardStep Returns:
Type Description Zangdar -
setOption (key, value)Zangdar
-
Name Type Description key
String value
* Returns:
Type Description Zangdar