Reveal.js: How to terminate / destroy reveal.js -- feature request?

Created on 22 Feb 2015  路  2Comments  路  Source: hakimel/reveal.js

Is there a way to terminate/destroy reveal.js? I tried using Reveal.removeEventListeners() which I found on another thread, but it doesn't do what I want... I'm looking for a way to toggle reveal.js and allow the user to view it the site as a "regular" scrolling website.

Thanks.

question

All 2 comments

There isn't, reveal.js makes lots of changes to the DOM so it would be difficult to roll all that back. Perhaps you could work around this by reloading the page and not initializing the framework.

When loading Reveal video presentation in a bootstrap popup, closing the popup and re-opening the popup will mess with the video playback. When the video slide previously playing is getting played again, 2 video will start playing. Both videos are the same slide, one from DOM and one from current slide I guess. Page reload is not an option here. Also removing these previous slides do not seem to work.

Was this page helpful?
0 / 5 - 0 ratings