slide-builder

1.0.1 • Public • Published

Slide Builder

Scriptable reveal.js fragments

Demo

A tiny wrapper to make it easier to generate slides & fragments for reveal.js

Usage

new SlideBuilder(slideElement)
  .shown(() => console.log("setup slide"))
  .fragments([
    () => console.log("fragment #1"),
    () => console.log("fragment #2"),
    () => console.log("fragment #3")
  ])
  .hidden(() => console.log("teardown slide"))

Readme

Keywords

Package Sidebar

Install

npm i slide-builder

Weekly Downloads

1

Version

1.0.1

License

MIT

Last publish

Collaborators

  • benjaminbenben