Parcourir la source

* API: document getComputedSlideSize

Zach DeCook il y a 5 ans
Parent
commit
f0c2d558b7
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      README.md

+ 2 - 0
README.md

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