Joyride plugin for Foundation 6.
npm install foundation-joyride* npm start - Calls the build process and opens the demo in your browser.
* npm test - Runs the JavaScript tests.
* npm run test:javascript - Runs tests for JavaScript with Mocha using PhantomJS.
* npm run test:visual - Runs visual tests/live demos.
Regardless of the way you use joyride, you need to initialize it like all Foundation plugins by calling:
``js`
$(document).foundation();
The following HTML is an example on how to use joyride. You can also have a look at the visual test cases in the test/visual/ folder.
` This is the default one without settings This one isn't closable If no target is specified, you create a modal. Your ride ends here!html`
* npm run test:javascript to run JavaScript tests with Mocha using PhantomJS.npm run test:visual` to run visual regression tests.
*
Check out our contributing guide to learn how you can contribute to this plugin. You can also browse the Help Wanted tag in our issue tracker to find things to do.