Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

bespoke-touch

1.0.0 • Public • Published

Build Status Coverage Status

bespoke-touch

Touch Support for Bespoke.js

Download

Download the production version or the development version, or use a package manager.

Usage

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'),
  touch = require('bespoke-touch');
 
bespoke.from('article', [
  touch()
}];

When using browser globals:

bespoke.from('article', [
  bespoke.plugins.touch()
}];

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')
]);

Package managers

npm

$ npm install bespoke-touch

Bower

$ bower install bespoke-touch

Credits

This plugin was built with generator-bespokeplugin.

License

MIT License

install

npm i bespoke-touch

Downloadsweekly downloads

202

version

1.0.0

license

none

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
Report a vulnerability