flexible-menu
v1.0.1
Published
Flexible menu with hidden items
Downloads
10
Readme
Flexible menu
Demo
Install
npm install flexible-menuUsage
import FlexibleMenu from './FlexibleMenu';
const fm = new FlexibleMenu({
containerSelector: '.flexible-menu'
});
fm.init();Public API
| name | type | description |
| ---- | ---- | ----------- |
| init | method | Initialize plugin, throws error if already initialized |
| destroy | method | Destroy plugin, throws error if not initialized |
| isInitialized | property | Return true if initialized |
