Explorar o código

* API: document getComputedSlideSize

Zach DeCook %!s(int64=5) %!d(string=hai) anos
pai
achega
f0c2d558b7
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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();