myg-progress
v0.13.8
Published
Myg progress bar component.
Downloads
8
Readme
Progress Bars
Usage
Stylesheets
@import "myg-progress/progress"
// Include classes (optional)
+myg__classes--progress
Javascript
import MygProgress from 'myg-progress';
document.addEventListener( 'ready', () => {
const mygProgresses = MygProgress.initAll( document.querySelectorAll('.myg-progress'), {} );
})
or
import * as myg from 'myg/src/myg';
const MygProgress = myg.MygProgress;
document.addEventListener( 'ready', () => {
const mygProgresses = MygProgress.initAll( document.querySelectorAll('.myg-progress'), {} );
})