diff --git a/README.md b/README.md index b255765..5f94e70 100644 --- a/README.md +++ b/README.md @@ -682,6 +682,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(); diff --git a/js/reveal.js b/js/reveal.js index cba1d28..71f5e27 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -6576,6 +6576,7 @@ getScale: function() { return scale; }, + getComputedSlideSize: getComputedSlideSize, // Returns the current configuration object getConfig: function() {