1.0.3 • Published 8 years ago

bespoke-nav-kbd v1.0.3

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

bespoke-nav-kbd

Adds keyboard (kbd) 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'),
  navkbd = require('bespoke-nav-kbd');

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

When using browser globals:

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

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 adds additional key bindings, does not capture events if a modifier key is pressed (except Shift + Space), has working tests, provides a cleanup routine and is more clearly named.

License

MIT License

1.0.3

8 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago