Keyboard Support for Bespoke.js
Download the production version or the development version, or use a package manager.
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 = require('bespoke'),
keys = require('bespoke-keys');
bespoke.from('article', [
keys()
]);
When using browser globals:
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:
bespoke.from('article', [
keys('vertical')
]);
$ npm install bespoke-keys
$ bower install bespoke-keys
This plugin was built with generator-bespokeplugin.