correction to javascript code sample
This commit is contained in:
parent
4a39aecbab
commit
fb7253187d
1 changed files with 1 additions and 1 deletions
|
@ -231,7 +231,7 @@
|
||||||
<p>
|
<p>
|
||||||
Additionally custom events can be triggered on a per slide basis by binding to the <code>data-state</code> name.
|
Additionally custom events can be triggered on a per slide basis by binding to the <code>data-state</code> name.
|
||||||
</p>
|
</p>
|
||||||
<pre><code data-trim contenteditable style="font-size: 18px; margin-top: 20px;">
|
<pre><code class="javascript" data-trim contenteditable style="font-size: 18px;">
|
||||||
Reveal.addEventListener( 'customevent', function() {
|
Reveal.addEventListener( 'customevent', function() {
|
||||||
console.log( '"customevent" has fired' );
|
console.log( '"customevent" has fired' );
|
||||||
} );
|
} );
|
||||||
|
|
Loading…
Reference in a new issue