@panz3r/reveal.js-caffeine

1.0.0 • Public • Published

RevealCaffeine

Custom plugin for Reveal.js to avoid screen going to spleep during active presentations

How To

Simply include RevealCaffeine plugin and it will automatically activate on presentation start if Screen Wake Lock API is supported by the browser.

Reveal.initialize({
  // ...
  plugins: [
    // ...,
    RevealCaffeine,
  ],
});

⚠️ NOTE: The Wake Lock will be released when the presentation is paused or the tab is hidden.

Configuration

You can configure the plugin with the following options:

// ...
plugins: [ /* ... */ ],
caffeine: {

}

License

MIT

/@panz3r/reveal.js-caffeine/

    Package Sidebar

    Install

    npm i @panz3r/reveal.js-caffeine

    Weekly Downloads

    0

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    5.98 kB

    Total Files

    6

    Last publish

    Collaborators

    • panz3r