2.1.2 • Published 9 years ago

bespoke-notes v2.1.2

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

bespoke-notes

Notes for Bespoke.js presentations

Use cases:

  • Publish slides with notes to those who were not able to see the presentation
  • Write notes for presentation, and present it on two screens (with help of bespoke-sync):
    Audience screen:                      Your screen:

See Asynchronous JavaScript Interfaces presentation for demo

Usage

bespoke-notes uses <aside> elements as notes.

...
<section>
  <h2>My Slide</h2>
  <aside>
    <p>My Notes</p>
  </aside>
</section>
...
// If your CJS bundler supports CSS modules do:
notes = require('bespoke-notes');
// otherwise do following (end ensure that rules from style.css load in your browser)
notes = require('bespoke-notes/dom');

bespoke.from(selector, [
  notes()
]);

Possible options:

bespoke.from(selector, [
  notes({
    key: 0x4e, // Key that toggles notes, default: 0x4e ('n' key)
    visible: false, // Whether to display notes on startup, default: false
  })
]);

Additionally notes display can be forced via ?notes query in url search string

Installation

npm

In your presentation path:

$ npm install bespoke-notes
2.1.2

9 years ago

2.1.1

9 years ago

2.1.0

9 years ago

2.0.1

9 years ago

2.0.0

10 years ago

1.0.0

11 years ago

0.3.1

11 years ago

0.3.0

11 years ago

0.2.2

12 years ago

0.2.1

12 years ago

0.2.0

12 years ago

0.1.0

12 years ago