1.0.0 • Published 10 years ago
bespoke-extern v1.0.0
bespoke-extern
Exports the Bespoke.js API to a global variable named bespoke and provides access to the collection of deck instances via bespoke.decks and the most recent deck via bespoke.deck.
This plugin is designed to give access to tools that need to control the deck, including presentation exporters such as deck2pdf and decktape.
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'),
extern = require('bespoke-extern');
bespoke.from('.deck', [
extern(bespoke)
]);When using browser globals:
bespoke.from('.deck', [
bespoke.plugins.extern()
]);For more information about options and how the plugin works, see the complete README.
License
1.0.0
10 years ago