1.0.1 • Published 5 years ago

@tohmn/menu v1.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

@tohmn/menu

npm version

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.

1.0.1

5 years ago

1.0.0

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago