There was an error while loading. Please reload this page.
1 parent 4a39aec commit fb72531Copy full SHA for fb72531
1 file changed
index.html
@@ -231,7 +231,7 @@ <h2>Custom Events</h2>
231
<p>
232
Additionally custom events can be triggered on a per slide basis by binding to the <code>data-state</code> name.
233
</p>
234
- <pre><code data-trim contenteditable style="font-size: 18px; margin-top: 20px;">
+ <pre><code class="javascript" data-trim contenteditable style="font-size: 18px;">
235
Reveal.addEventListener( 'customevent', function() {
236
console.log( '"customevent" has fired' );
237
} );
0 commit comments