myg-toolbar
v0.13.8
Published
A toolbar is a navigational element.
Downloads
8
Readme
Toolbars
Usage
Stylesheets
@import "myg-toolbar/toolbar"
// Include classes (optional)
+myg__classes--toolbar
Javascript
import MygToolbar from 'myg-toolbar';
document.addEventListener( 'ready', () => {
const mygToolbar = new MygToolbar( document.querySelector('.myg-toolbar'), {} );
})
or
import * as myg from 'myg/src/myg';
const MygToolbar = myg.MygToolbar;
document.addEventListener( 'ready', () => {
const mygToolbar = new MygToolbar( document.querySelector('.myg-toolbar'), {} );
})