1.0.1 • Published 8 years ago

bespoke-nav-touch v1.0.1

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

bespoke-nav-touch

Adds touch navigation to a Bespoke.js presentation.

Usage

This plugin is shipped in a UMD format, meaning it is available as a CommonJS/AMD module or as a browser global.

For example, when using CommonJS modules:

var bespoke = require('bespoke'),
  navtouch = require('bespoke-nav-touch');

bespoke.from('.deck', [
  navtouch()
]);

When using browser globals:

bespoke.from('.deck', [
  bespoke.plugins.navtouch()
]);

For more information about options and how the plugin works, see the complete README.

Credits

This plugin is a fork of the official bespoke-keys plugin by Mark Dalgleish. This fork does not interfere with scrolling (see bespoke-touch#1), has 100% test coverage, provides a cleanup routine and is more clearly named.

License

MIT License