Wall

Example


Installation

$ npm i -S storm-wall

Usage

HTML

CSS

Sample minimum CSS required to show/hide each section

JS

Either import and initialise using a named import:

import Wall from 'storm-wall';
Wall.init('.js-wall');

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

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