wijmo.pager.wijpager Namespace > options type : pageIndexChanging Event |
Javascript (Usage) | |
---|---|
$(function () { // Set pageIndexChanging event handler function $(".selector").wijpager({ 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; } });