jquery-steps
Version:
A powerful jQuery wizard plugin that supports accessibility and HTML5
113 lines (105 loc) • 1.96 kB
JavaScript
/**
* An enum represents the different content types of a step and their loading mechanisms.
*
* @class contentMode
* @for steps
**/
var contentMode = $.fn.steps.contentMode = {
/**
* HTML embedded content
*
* @readOnly
* @property html
* @type Integer
* @for contentMode
**/
html: 0,
/**
* IFrame embedded content
*
* @readOnly
* @property iframe
* @type Integer
* @for contentMode
**/
iframe: 1,
/**
* Async embedded content
*
* @readOnly
* @property async
* @type Integer
* @for contentMode
**/
async: 2
};
/**
* An enum represents the orientation of the steps navigation.
*
* @class stepsOrientation
* @for steps
**/
var stepsOrientation = $.fn.steps.stepsOrientation = {
/**
* Horizontal orientation
*
* @readOnly
* @property horizontal
* @type Integer
* @for stepsOrientation
**/
horizontal: 0,
/**
* Vertical orientation
*
* @readOnly
* @property vertical
* @type Integer
* @for stepsOrientation
**/
vertical: 1
};
/**
* An enum that represents the various transition animations.
*
* @class transitionEffect
* @for steps
**/
var transitionEffect = $.fn.steps.transitionEffect = {
/**
* No transition animation
*
* @readOnly
* @property none
* @type Integer
* @for transitionEffect
**/
none: 0,
/**
* Fade in transition
*
* @readOnly
* @property fade
* @type Integer
* @for transitionEffect
**/
fade: 1,
/**
* Slide up transition
*
* @readOnly
* @property slide
* @type Integer
* @for transitionEffect
**/
slide: 2,
/**
* Slide left transition
*
* @readOnly
* @property slideLeft
* @type Integer
* @for transitionEffect
**/
slideLeft: 3
};