Close the menu

By default, the menu only closes after clicking on the still visible part of the page.
The plugin also automatically binds a click event to every A that links to the page:

<a href="#my-page">Close the menu</a>

Close it manually

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.

To the documentation »