myg-slider
v0.13.8
Published
Myg slider input component.
Downloads
9
Readme
Sliders
Usage
Stylesheets
@import "myg-slider/slider"
Javascript
import MygSlider from 'myg-slider';
document.addEventListener( 'ready', () => {
const mygSLiders = MygSLider.initAll( document.querySelectorAll('.myg-slider'), {} );
})
or
import * as myg from 'myg/src/myg';
const MygSlider = myg.MygSlider;
document.addEventListener( 'ready', () => {
const mygSLiders = MygSLider.initAll( document.querySelectorAll('.myg-slider'), {} );
})