markup error correction
This commit is contained in:
parent
5655b5f467
commit
7e50404ad7
24
index.html
24
index.html
@ -191,6 +191,18 @@
|
|||||||
</p>
|
</p>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
<section data-state="customevent">
|
||||||
|
<h2>Custom Events</h2>
|
||||||
|
<p>
|
||||||
|
Additionally custom events can be triggered on a per slide basis by binding to the <code>data-state</code> name.
|
||||||
|
</p>
|
||||||
|
<pre><code data-trim contenteditable style="font-size: 18px; margin-top: 20px;">
|
||||||
|
Reveal.addEventListener( 'customevent', function() {
|
||||||
|
console.log( '"customevent" has fired' );
|
||||||
|
} );
|
||||||
|
</code></pre>
|
||||||
|
</section>
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
<section data-background="#007777">
|
<section data-background="#007777">
|
||||||
<h2>Slide Backgrounds</h2>
|
<h2>Slide Backgrounds</h2>
|
||||||
@ -211,18 +223,6 @@
|
|||||||
</section>
|
</section>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section data-state="customevent">
|
|
||||||
<h2>Custom Events</h2>
|
|
||||||
<p>
|
|
||||||
Additionally custom events can be triggered on a per slide basis by binding to the <code>data-state</code> name.
|
|
||||||
</p>
|
|
||||||
<pre><code data-trim contenteditable style="font-size: 18px; margin-top: 20px;">
|
|
||||||
Reveal.addEventListener( 'customevent', function() {
|
|
||||||
console.log( '"customevent" has fired' );
|
|
||||||
} );
|
|
||||||
</code></pre>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
<h2>Clever Quotes</h2>
|
<h2>Clever Quotes</h2>
|
||||||
<p>
|
<p>
|
||||||
|
Loading…
Reference in New Issue
Block a user