-
Notifications
You must be signed in to change notification settings - Fork 11
Description
Hi @markdalgleish,
I am building a new plugin to allow viewers to have an overview of the presentation (bespoke-overview 😄), very much similar to what is built into reveal.js when 'ESC' is pressed.
In overview mode, the substeps inside the slides should not have any effect. The styling part can easily be done through CSS, but I'm wondering how to kinda deactivate bespoke-bullets so every deck.next() does take to the next slide and so on.
One possibility I thought that is not very intrusive is to change bespoke-bullets to check for the presence/absence of a class (e.g., bespoke-bullets-off) on deck.parent to decide whether to return true/false on deck.next/prev event handlers and then other plugins (like bespoke-overview) might just toggle that class on/off.
If you think this is not the direction for this plugin or not a good approach to the problem, please let me know!
Thanks!!!