reveal.js can now be uninitialized by calling Reveal.destroy() #1145 #3134

This commit is contained in:
hakimel committed 2022-02-21 13:41:36 +01:00
1 parent ff20051861
commit 1e0cbe6779
11 files changed
+110 -55

No files matched your search

+7
View File
@@ -188,6 +188,13 @@ export default class Controls {
}
}
destroy() {
this.unbind();
this.element.remove();
}
/**
* Event handlers for navigation control buttons.
*/