tldr — self-destruction and bug fixes 💣
Changes
- It's now possible to destroy/uninitialize a reveal.js presentation. This will remove all event listeners and roll back all changes made to the DOM. It will also unregister all plugins and destroy them if they expose a destroy method. (#1145 / @hakimel)
Reveal.destroy();
- You can now provide an absolute URL to the presentation that should be loaded in the speaker view. This is useful if you have a presentation integrated as part of a web page but still want the speaker view to work.
Reveal.initialize({ url: 'https://example.com/my-reveal-presentation' })
- Source maps are now included in dist (#3082 / @dabrahams)