diff options
author | Mario Wolff <mario.wolff@in.sachen.it> | 2019-01-15 13:18:55 +0100 |
---|---|---|
committer | Mario Wolff <mario.wolff@in.sachen.it> | 2019-01-15 13:18:55 +0100 |
commit | 126365627b30e66b4dc3e1407d1b457094f6cbc2 (patch) | |
tree | 55d3c6353ef558ccb358bf9d80464206c7b52f4b | |
parent | abee356e42bd27a06db3f1308fd7b751de646102 (diff) | |
download | perl-software-in-gnu-guix-126365627b30e66b4dc3e1407d1b457094f6cbc2.tar perl-software-in-gnu-guix-126365627b30e66b4dc3e1407d1b457094f6cbc2.tar.gz |
fixed documentation on resize event
-rw-r--r-- | README.md | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -41,6 +41,7 @@ reveal.js comes with a broad range of features including [nested slides](https:/ - [Fullscreen mode](#fullscreen-mode) - [Embedded media](#embedded-media) - [Stretching elements](#stretching-elements) + - [Resize Event](#resize-event) - [postMessage API](#postmessage-api) - [PDF Export](#pdf-export) - [Theming](#theming) @@ -963,7 +964,7 @@ Limitations: When reveal.js changes the scale of the slides it fires an resize event. You can subscribe to the event to resize your elements accordingly. ```javascript -Reveal.addEventListener( 'overviewshown', function( event ) { /* console.log(event.scale,event.oldscale,event.size); */ } ); +Reveal.addEventListener( 'resize', function( event ) { /* console.log(event.scale,event.oldscale,event.size); */ } ); ``` ### postMessage API |