Keyboard Support for Bespoke.js
 
Keyboard Support for Bespoke.js
Download the [production version][min] or the [development version][max], or use a package manager.
[min]: https://raw.github.com/markdalgleish/bespoke-keys/master/dist/bespoke-keys.min.js
[max]: https://raw.github.com/markdalgleish/bespoke-keys/master/dist/bespoke-keys.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:
``js
var bespoke = require('bespoke'),
keys = require('bespoke-keys');
bespoke.from('article', [
keys()
}];
`
When using browser globals:
`js`
bespoke.from('article', [
bespoke.plugins.keys()
}];
By default, bespoke-keys uses the spacebar/shift+spacebar, left/right and page up/down keys to navigate the slides.
If your presentation is laid out vertically, you can allow navigation with up/down instead of left/right with the vertical option:
`js`
bespoke.from('article', [
keys('vertical')
]);
`bash`
$ npm install bespoke-keys
`bash``
$ bower install bespoke-keys
This plugin was built with generator-bespokeplugin.