-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
Hi,
we would love to use reveal.js functionality that allows to register events on e.g. fragments showing up like this:
Reveal.on('fragmentshown', (event) => {
// event.fragment = the fragment DOM element
});
Reveal.on('fragmenthidden', (event) => {
// event.fragment = the fragment DOM element
});
However, when using event listeners like this, nothing happens. To properly use it, we need to reinitialize Reveal first with:
Reveal.initialize()
which comes with a lot of ugly side effects (stretching the content weirdly every time you reload the page). Is there a chance to make Reveal accessible without initializing it first? Or is there another way how Reveal should be used?
Metadata
Metadata
Assignees
Labels
No labels