Guide

Example

  1. Section 1
  2. Section 2
  3. Section 3
One
Two
Three

Installation

$ npm i -S storm-guide

Usage

HTML

CSS

Sample minimum CSS required to show/hide each section

JS

Either import and initialise using a named import:

import Guide from 'storm-guide';
            
Guide.init('.js-guide');

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

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