I'm trying to create a custom behaviour to mmenu to open from the right side of the website.
There is any guide on how to change such thing? Here is what I got so far.
http://codepen.io/davo/pen/krxLw
Anyway, I'll keep working on this, if I find a proper way, I'll post it here.
Set the option "position" to "right" ("direction" isn't an option):
$("nav").mmenu({
offCanvas {
position: "right"
}
});
The documentation for the plugin comes with the download pack, just open the docs/index.html file for examples, the options, the events and a tutorial. All of this is also accessible via the website (click the "check out these pages" links).
EDIT: Plugin is now properly documented: http://mmenu.frebsite.nl
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With