1.1.0 • Published 10 months ago

@forward-software/reveal.js-caffeine v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

☕️ Caffeine

Custom plugin for Reveal.js to avoid screen going to sleep 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,
  ],
});

!IMPORTANT
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


Made with ✨ & ❤️ by ForWarD Software and contributors