diff options
author | Hakim El Hattab <hakim.elhattab@gmail.com> | 2020-04-07 09:05:56 +0200 |
---|---|---|
committer | Hakim El Hattab <hakim.elhattab@gmail.com> | 2020-04-07 09:05:56 +0200 |
commit | 855cc82d7680bd9d2d99f1d8af9930087bac1326 (patch) | |
tree | 21e7783228d49676aa6192fe7ad3271dbea4cf77 /demo.html | |
parent | f24620018f89fdd8b15be2907177361628baab12 (diff) | |
download | fosdem-2021-minimalism-presentation-855cc82d7680bd9d2d99f1d8af9930087bac1326.tar fosdem-2021-minimalism-presentation-855cc82d7680bd9d2d99f1d8af9930087bac1326.tar.gz |
Reveal.add/remveEventListener -> Reveal.on/off
Diffstat (limited to 'demo.html')
-rw-r--r-- | demo.html | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -374,7 +374,7 @@ Additionally custom events can be triggered on a per slide basis by binding to the <code>data-state</code> name. </p> <pre><code class="javascript" data-trim contenteditable style="font-size: 18px;"> -Reveal.addEventListener( 'customevent', function() { +Reveal.on( 'customevent', function() { console.log( '"customevent" has fired' ); } ); </code></pre> |