Skip to content

Custom Events and Callbacks

desdev edited this page Oct 1, 2010 · 3 revisions

The jQuery UI Widget Factory has the capability of binding custom event handlers and callbacks to widgets.

Refer to the `events.html` source file for a verbose explanation of usage

Callbacks

Type Triggered by
finish Once the user has clicked the “Finish” button at the end of the wizard.
cancel Once the user has clicked the “Cancel” button at any point during the wizard.
next Once the user has clicked the “Next” button, will be triggered before they are proceeded to the next step.
previous Once the user has clicked the “Previous” button, will be triggered before they are proceeded to the previous step.

Event Handlers

Type Triggered by ui object
changeStep Any time a step is changed { type: “previous,next,first,last,manual”, currentStepIndex: [int], nextStepIndex: [int] }
Clone this wiki locally