Class: WizardCustom

js-whatever/js/wizard-custom. WizardCustom

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
index Number
Source:
Returns:

The step at the index

Type
WizardStep

getStepByAttribute(attributeHash) → {WizardStep}

Finds the first step with the given attributes

Parameters:
Name Type Description
attributeHash object
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 function

Parameters:
Name Type Description
e Event

jQuery event object

currentIndex number

The current tab index

newIndex number

The newly selected tab index

renderOptions object

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:
Copyright 2013-2018 Micro Focus International plc. Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License.
Documentation generated by JSDoc 3.4.3 on Thu Jun 21st 18:04 2018 using the DocStrap template.