myg-drawer
v0.13.8
Published
Drawers are a navigation element.
Downloads
11
Readme
Drawers
Usage
Stylesheets
@import "myg-drawer/drawer"
// Include classes (optional)
+myg__classes--drawer
Javascript
import MygDrawer from 'myg-drawer';
document.addEventListener( 'ready', () => {
const mygDrawer = new MygDrawer( document.querySelector('.myg-drawer'), {} );
})
or
import * as myg from 'myg/src/myg';
const MygDrawer = myg.MygDrawer;
document.addEventListener( 'ready', () => {
const mygDrawer = new MygDrawer( document.querySelector('.myg-drawer'), {} );
})