Storm Slides

Example


Installation

$ npm i -S storm-slides

Usage

HTML

JS

Either import and initialise using a named import:

import Slides from 'storm-slides';
            
Slides.init('.js-slides');

Or async using storm-load.js, add the .standalone file to your project, then intiialise using the global name:

Load('/content/js/async/storm-slides.standalone.js').then(() => {
    StormSlides.init('.js-slides');
});