* API: document getComputedSlideSize

This commit is contained in:
Zach DeCook 2020-01-31 11:24:23 -05:00
parent 479909d5fa
commit f0c2d558b7

View file

@ -638,6 +638,8 @@ Reveal.getConfig();
// Fetch the current scale of the presentation // Fetch the current scale of the presentation
Reveal.getScale(); Reveal.getScale();
Reveal.getComputedSlideSize(); // Returns object with width, height keys, and (scaled) presentationWidth and presentationHeight.
// Retrieves the previous and current slide elements // Retrieves the previous and current slide elements
Reveal.getPreviousSlide(); Reveal.getPreviousSlide();
Reveal.getCurrentSlide(); Reveal.getCurrentSlide();