Touch Support for Bespoke.js
Download the production version or the development version, or use a package manager.
First, include both bespoke.js and bespoke-touch.js in your page.
Then, simply include the plugin when instantiating your presentation.
bespoke.from('article', {
touch: true
});By default, bespoke-touch uses horizontal swipes to navigate the slides.
If your presentation is laid out vertically, you can allow navigation with vertical swipes using the vertical option:
bespoke.from('article', {
touch: 'vertical'
});$ bower install bespoke-touch$ npm install bespoke-touchThe bespoke-touch npm package is designed for use with browserify, e.g.
require('bespoke');
require('bespoke-touch');This plugin was built with generator-bespokeplugin.
