@tohmn/menu
v1.0.1
Published
Quick and easy to configure menu.
Downloads
2
Readme
@tohmn/menu
Installation
$ npm install @tohmn/menu
Usage
Data Attribute Settings
From @tohmn/menu 1.0.0 you can add settings data-menu attribute.
Example:
<a href="#menu-content" data-menu-toggle>MENU</a>
<div id="menu-content" data-menu-content data-menu='{"enterFrom": right, "height": 100vw, "width": 80vh'>
Contents of the menu.
</div>
License and Copyright
This software is released under the terms of the MIT license.