jQuery.wijmo.wijpager Namespace > options type : pageIndexChanging Event |
Javascript (Usage) | |
---|---|
var instance; // Type: options instance.pageIndexChanging = function(e, args) { }; |
Javascript (Specification) | |
---|---|
pageIndexChanging = function ( e : object, args : IPageIndexChangingEventArgs ) { }; |
// Supply a callback function to handle the event: $("#element").wijpager({ pageIndexChanging: function (e, args) { // Handle the event here. } }); // Bind to the event by type: $("#element").bind("wijpagerpageindexchanging", function (e, args) { // Handle the event here. }); // You can cancel this event be returning false: $("#element").wijpager({ pageIndexChanging: function(e, args) { return false; } });