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

bespoke-backdrop

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bespoke-backdrop

Backdrop elements for Bespoke.js

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Build Status Coverage Status

bespoke-backdrop

Backdrop elements for Bespoke.js

Automatically generate background elements that can be styled and animated indepedently of your slide content.

Classes specified in data-bespoke-backdrop attributes will be added to the list of classes that are provided by default.

Download

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

Usage

var bespoke = require('bespoke'),
  backdrop = require('bespoke-backdrop');

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

Then add data-bespoke-backdrop attributes to your slides.

<article>

  <section>
    No backdrop
  </section>

  <section data-bespoke-backdrop="special">
    Special backdrop
  </section>

  <section data-bespoke-backdrop="super special">
    Super special backdrop
  </section>

</article>

Not using CommonJS? View the full Bespoke.js plugin documentation.

Classes

The following classes are provided on the backdrop elements:

bespoke-backdropEvery backdrop element
bespoke-backdrop-activeThe active backdrop
bespoke-backdrop-inactiveAll inactive backdrops
bespoke-backdrop-beforeAll backdrops before the active backdrop
bespoke-backdrop-afterAll backdrops after the active backdrop

Package managers

npm

$ npm install bespoke-backdrop

Bower

$ bower install bespoke-backdrop

Credits

This plugin was built with generator-bespokeplugin.

License

MIT License

Keywords

FAQs

Package last updated on 11 Sep 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