Wijmo UI for the Web
beforeSelectedIndexChanged Field
wijmo.accordion Namespace > WijAccordionOptions Interface : beforeSelectedIndexChanged Field

Type: wijmo.accordion.IWijAccordionEvent

Occurs before an active accordion pane change.

Syntax
var instance; // Type: wijmo.accordion.WijAccordionOptions;
var value; // Type: IWijAccordionEvent
value = instance.beforeSelectedIndexChanged;
var beforeSelectedIndexChanged : IWijAccordionEvent;
Remarks
Return false or call event.preventDefault() in order to cancel event and prevent the selectedIndex change.
See Also

Reference

WijAccordionOptions Interface