Dependencies
Installing via npm
will bring in the above dependencies as well.
npm
npm install shepherd.js --save
yarn
yarn add shepherd.js
let tour = new Shepherd.Tour({
defaultStepOptions: {
classes: 'shepherd-theme-arrows'
}
});
tour.addStep('example', {
title: 'Example Shepherd',
text: 'Creating a Shepherd is easy too! Just create ...',
attachTo: '.hero-example bottom',
advanceOn: '.docs-link click'
});
tour.start();
We encourage contributions of all kinds. If you would like to contribute in some way, please review our guidelines for contributing.