bespoke-slidenumber
v0.1.0
Published
displays current and overall slide number
Downloads
2
Readme
bespoke-slidenumber
displays current and overall slide number
Download
Download the production version or the development version, or use a package manager.
Usage
This plugin is shipped in a UMD format, meaning that it is available as a CommonJS/AMD module or browser global.
For example, when using CommonJS modules:
var bespoke = require('bespoke'),
slidenumber = require('bespoke-slidenumber');
bespoke.from('#presentation', [
slidenumber()
]);
When using browser globals:
bespoke.from('#presentation', [
bespoke.plugins.slidenumber()
]);
Custom Divider
When using CommonJS modules:
bespoke.from('#presentation', [
slidenumber('/')
]);
When using browser globals:
bespoke.from('#presentation', [
bespoke.plugins.slidenumber('/')
]);
CSS Classes
| Class | Purpose | |-----------------------------|------------------------| | bespoke-slidenumber | slidenumber container | | bespoke-slidenumber-no | numbers | | bespoke-sidenumber-current | current slide number | | bespoke-slidenumber-overall | overall slide number | | bespoke-slidenumber-divider | custom divider, if any |
Package managers
npm
$ npm install bespoke-slidenumber
Bower
$ bower install bespoke-slidenumber
Credits
This plugin was built with generator-bespokeplugin.