onClick (object)
A map of options for when a link in the menu is clicked.
Possible values: an object, true or false.
Code example:
$("#my-menu").mmenu({
onClick : {
close : true,
delayPageload : true,
blockUI : false
}
});
onClick.close (boolean)
Whether or not the menu should close after clicking a link inside it. If true.
Default value: true.
delayPageload (boolean/number)
Whether or not to delay loading the new page until after the menu has closed. If a number, this will be the amout of milliseconds the loading is delayed.
Default value: true.
blockUI (boolean)
Whether or not to block the user interface while loading the new page.
Default value: false.