myg-titlebar
v0.13.8
Published
Titlebars can remind users of necessary actions.
Downloads
7
Readme
Titlebars
Usage
Stylesheets
@import "myg-titlebar/titlebar"
// Include classes (optional)
+myg__classes--titlebar
Javascript
import MygTitlebar from 'myg-titlebar';
document.addEventListener( 'ready', () => {
const mygTitlebar = new MygTitlebar( document.querySelector('.myg-titlebar'), {} );
})
or
import * as myg from 'myg/src/myg';
const MygTitlebar = myg.MygTitlebar;
document.addEventListener( 'ready', () => {
const mygTitlebar = new MygTitlebar( document.querySelector('.myg-titlebar'), {} );
})