The showing event is triggered before the submenu is shown.
showing is a useful event if you want to perform a function before the submenu is shown
or if you want to block the submenu from showing by returning false.
Syntax
Javascript (Usage) | |
---|
$(function () {
// Set showing event handler function
$(".selector").wijmenu({
showing : function (event, item) {
}
});
});
|
Javascript (Specification) | |
---|
showing = function (
: any,
: any
) { };
|
Parameters
- event
- This is the jQuery.Event object.
- item
- This is the event object that relates to the submenu's parent item.
See Also
Reference
options type
wijmenu jQuery Widget