bespoke-progress

Progress Bar for Bespoke.js

Showing:

Popularity

Downloads/wk

7

GitHub Stars

9

Maintenance

Last Commit

7yrs ago

Contributors

0

Package

Dependencies

0

License

Type Definitions

Tree-Shakeable

No?

Categories

Readme

Build Status Coverage Status

bespoke-progress

Progress Bar for Bespoke.js

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

bespoke.from('article', [
  progress()
]);

When using browser globals:

bespoke.from('article', [
  bespoke.plugins.progress()
]);

Two elements will be added to your presentation: a progress bar, and a container for it.

By default, the .bespoke-progress-bar element's width will be dynamically set to a percentage width.

If you'd prefer a vertical progress bar, simply specify 'vertical' as the plugin option:

bespoke.from('article', [
  progress('vertical')
]);

CSS

The following classes are available on the generated progress elements.

bespoke-progress-parent The progress bar's parent element
bespoke-progress-bar The progress bar

Package managers

npm

$ npm install bespoke-progress

Bower

$ bower install bespoke-progress

Credits

This plugin was built with generator-bespokeplugin.

License

MIT License

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial