1.0.0 • Published 9 years ago

bespoke-fullscreen v1.0.0

Weekly downloads
5
License
MIT
Repository
github
Last release
9 years ago

bespoke-fullscreen

Toggles fullscreen mode when either the f or F11 key is pressed in a Bespoke.js presentation. Delegates to the native fullscreen mechanism of the browser.

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'),
  fullscreen = require('bespoke-fullscreen');

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

When using browser globals:

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

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

License

MIT License