Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

☕️ 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