Hash Routing for Bespoke.js
This plugin is shipped in a UMD format, meaning that it is available as a CommonJS/AMD module or browser global.
For example, when using CommonJS modules:
var bespoke =hash = ;bespoke;
When using browser globals:
#1, all routes are numbered by default.
If you'd like to use named hash routes instead, add
data-bespoke-hash attributes to your slide markup.
Alternatively, you can specify the value using
id attributes in your slide markup.
If both the
id attributes are used,
data-bespoke-hash wins. When looking for a match, the plugin consults the
data-bespoke-hash attribute on a slide first, then the
$ npm install bespoke-hash
$ bower install bespoke-hash
This plugin was built with generator-bespokeplugin.