myg-menu
v0.13.8
Published
Menus can include actions for an element.
Downloads
10
Readme
Menus
Usage
Stylesheets
@import "myg-menu/menu"
Javascript
import MygMenu from 'myg-menu';
document.addEventListener( 'ready', () => {
const mygMenu = new MygMenu( document.querySelector('.myg-menu'), {} );
})
or
import * as myg from 'myg/src/myg';
const MygMenu = myg.MygMenu;
document.addEventListener( 'ready', () => {
const mygMenu = new MygMenu( document.querySelector('.myg-menu'), {} );
})