$(function () { // Set collapse event handler function $(".selector").wijsplitter({ collapse : function (e) { } }); });
collapse = function ( e : jQuery.Event ) { };
Parameters
- e
- Standard jQuery event object
$(function () { // Set collapse event handler function $(".selector").wijsplitter({ collapse : function (e) { } }); });
collapse = function ( e : jQuery.Event ) { };
Supply a callback function to handle the collapse event: $("#element").wijsplitter({ collapse: function () { return false; } }); Bind to the event by type: $("#element").bind("wijsplittercollapse", function () { return false; });