@tohmn/menu

1.0.1 • Public • Published

@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.

Readme

Keywords

Package Sidebar

Install

npm i @tohmn/menu

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

2.37 kB

Total Files

4

Last publish

Collaborators

  • tohmn