close
Trigger this event to manually close the menu.
Code example:
$("#my-menu").mmenu(); $("#my-menu").trigger( "close.mm" );
closing
Triggered when the menu is closing.
Code example:
$("#my-menu").mmenu(); $("#my-menu").on( "closing.mm", function() { alert( "The menu will now be closed." ); } );
closed
Triggered when the menu is finished closing.
Code example:
$("#my-menu").mmenu(); $("#my-menu").on( "closed.mm", function() { alert( "The menu has just been closed." ); } );