new WizardCustom(options)
Backbone wrapper around the jQuery steps plugin
Parameters:
| Name | Type | Description |
|---|---|---|
options |
WizardOptions |
- Source:
- See:
Extends
- Backbone.View
Members
-
columnClass
-
Bootstrap grid class
- Default Value:
-
- span12
- Source:
-
template
-
Template function for the wizard
- Source:
Methods
-
getCurrentStep() → {WizardStep}
-
Gets the currently selected step
- Source:
Returns:
The currently selected step
- Type
- WizardStep
-
getStep(index) → {WizardStep}
-
Gets the step at the given index
Parameters:
Name Type Description indexNumber - Source:
Returns:
The step at the index
- Type
- WizardStep
-
getStepByAttribute(attributeHash) → {WizardStep}
-
Finds the first step with the given attributes
Parameters:
Name Type Description attributeHashobject - Source:
Returns:
The step with the given attributes
- Type
- WizardStep
-
handleStepChange(e, currentIndex, newIndex, renderOptions)
-
Function called before changing to a step. If you want to override this function you should probably
call this as the first line of your functionParameters:
Name Type Description eEvent jQuery event object
currentIndexnumber The current tab index
newIndexnumber The newly selected tab index
renderOptionsobject Parameters passed to the view's render method
- Source:
-
render()
-
Renders the wizard. Rendering of the steps is deferred until they are needed
- Source:
-
renderActiveStep()
-
Renders the view associated with the active step
- Source: