I’m using mmenu.js on a website and got the license key from my customer. How do I implement this key in the code to verify that I’m allowed to use mmenu.js? As the library works without key I can’t check if it’s working the way I tried. The documentation does not give any information about that.
I’m using mmenu.js version 9.3.0 via yarn. I don’t want to use the download version.
I tried this approach:
Mmenu.prototype.__options = {
"license": "xxxxxxxxxxxxx"
};
Thanks for helping!
Conny Kälin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.