Close the menu

By default, the menu only closes after clicking on the still visible part of the page.
Trigger the close custom event to close the menu manually:

$("#my-menu").trigger("close");

That's it, you're now ready to create a slick app look-alike sliding menu for your mobile website.

Go to the examples »