Wijmo UI for the Web
beforeSelectedIndexChanged Event
wijmo.accordion.wijaccordion Namespace > options type : beforeSelectedIndexChanged Event
Standard jQuery event object
Information about an event
Occurs before an active accordion pane change.
Syntax
$(function () {
    // Set beforeSelectedIndexChanged event handler function
    $(".selector").wijaccordion({
        beforeSelectedIndexChanged : function (e, data) {
     
        }
    });
});
beforeSelectedIndexChanged = function ( 
   e : jQuery.Event,
   data : IBeforeSelectedIndexChangedEventArgs
) { };

Parameters

e
Standard jQuery event object
data
Information about an event
Remarks
Return false or call event.preventDefault() in order to cancel event and prevent the selectedIndex change.
See Also

Reference

options type
wijaccordion jQuery Widget