Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bespoke-classes

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bespoke-classes

Deck status classes for Bespoke.js

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
Maintainers
1
Weekly downloads
 
Created
Source

Build Status Coverage Status

bespoke-classes

Deck status classes for Bespoke.js

Please note: This plugin is in beta and designed for use with a future release of 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'),
  classes = require('bespoke-classes');

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

When using browser globals:

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

Classes

To help you create your own custom deck styles, this plugin provides the following classes:

bespoke-parentThe deck's containing element
bespoke-slideEvery slide element
bespoke-activeThe active slide
bespoke-inactiveAll inactive slides
bespoke-beforeAll slides before the active slide
bespoke-before-nAll slides before the active slide, with n value incrementing
bespoke-afterAll slides after the active slide
bespoke-after-nAll slides after the active slide, with n value incrementing

Package managers

npm

$ npm install bespoke-classes

Bower

$ bower install bespoke-classes

Credits

This plugin was built with generator-bespokeplugin.

License

MIT License

Keywords

FAQs

Package last updated on 30 Jul 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc