bespoke-fullscreen
v1.0.0
Published
Toggles fullscreen mode in a Bespoke.js presentation.
Downloads
7
Readme
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.