0.1.1 • Published 6 years ago

bespoke-theme-carousel v0.1.1

Weekly downloads
3
License
-
Repository
github
Last release
6 years ago

Build Status

bespoke-theme-carousel

Carousel theme as seen on the demo page of bespoke.js View demo

Download

Download the production version or the development version, or use a package manager.

Usage

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

bespoke.from('#presentation', [
  carousel()
]);

When using browser globals:

bespoke.from('#presentation', [
  bespoke.themes.carousel()
]);

View the theme like on the demo page

To view the theme like on the demo page you have to use the bespoke-scale plugin with the parameter 'zoom':

bespoke.from('article', [
  carousel(),
  keys(),
  touch(),
  bullets('li, .bullet'),
  scale('zoom'),
  progress(),
  backdrop()
]);

Package managers

npm

$ npm install bespoke-theme-carousel

Bower

$ bower install bespoke-theme-carousel

Credits

This theme was built with generator-bespoketheme.

License

MIT License