myg-footer
v0.13.8
Published
Footers can confront the users with possible actions or contextual information.
Downloads
12
Readme
Footers
Usage
Stylesheets
@import "myg-footer/footer"
// Include classes (optional)
+myg__classes--footer
Javascript
import MygFooter from 'myg-footer';
document.addEventListener( 'ready', () => {
const mygFooters = MygFooter.initAll( document.querySelectorAll('.myg-footer'), {} );
})
or
import * as myg from 'myg/src/myg';
const MygFooter = myg.MygFooter;
document.addEventListener( 'ready', () => {
const mygFooters = MygFooter.initAll( document.querySelectorAll('.myg-footer'), {} );
})