myg-slide
v0.13.8
Published
Myg slide component.
Downloads
6
Readme
Slides
Usage
Stylesheets
@import "myg-slide/slide"
Javascript
import MygSlide from 'myg-slide';
document.addEventListener( 'ready', () => {
const mygSlides = MygSlide.initAll( document.querySelectorAll('.myg-slide'), {} );
})
or
import * as myg from 'myg/src/myg';
const MygSlide = myg.MygSlide;
document.addEventListener( 'ready', () => {
const mygSlides = MygSlide.initAll( document.querySelectorAll('.myg-slide'), {} );
})