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

bespoke-advanced

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bespoke-advanced

Auto advance slides on a timer in Bespoke.js

  • 1.0.0
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Build Status Coverage Status

bespoke-advanced

Auto advance slides on a timer in bespoke.js, started and stopped with the A key.

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

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

When using browser globals:

bespoke.from('#presentation', [
  bespoke.plugins.advanced()
]);
  • Key A: start and stop auto advancing.

Options

These are the defaults, which you can override. For example, when using CommonJS modules:

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

bespoke.from('#presentation', [
  advanced({
      interval: 3000, // Time between advances in milliseconds
      key: 0x41 // (65) "A" key.
    })
]);

When using browser globals:

bespoke.from('#presentation', [
  bespoke.plugins.advanced({
      interval: 3000, // Time between advances in milliseconds
      key: 0x41 // (65) "A" key.
    })
]);

Package managers

npm

$ npm install bespoke-advanced

Bower

$ bower install bespoke-advanced

Credits

Mark Dalgleish for bespoke.js and related tools. This plugin was built with generator-bespokeplugin.

Ed Schipul, eschipul on flickr, for his photo river boat in the mist (CC BY-SA 2.0). My recompressed version is also released under CC BY-SA 2.0.

My best friend, bespoke-convenient, for continued support - through good and bad times. You mah bro, bro.

License

Copyright (c) 2013, 2014, Joel Purra All rights reserved.

When using bespoke-advanced, comply to the MIT license. Please see the LICENSE file for details, and the MIT License on Wikipedia.

Keywords

FAQs

Package last updated on 23 Dec 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