* Theme demos are loaded after the presentation which leads to flicker. In production you should load your theme in the <code><head></code> using a <code><link></code>.
* Theme demos are loaded after the presentation which leads to flicker. In production you should load your theme in the <head> using a <link>.
</small>
</p>
</section>
...
...
@@ -212,12 +192,12 @@
<p>
Set <code>data-state="something"</code> on a slide and <code>"something"</code>
will be added as a class to the document element when the slide is open. This lets you
apply broader style changes, like switching the background.
apply broader style changes, like switching the page background.
</p>
</section>
<sectiondata-state="customevent">
<h2>Custom Events</h2>
<h2>State Events</h2>
<p>
Additionally custom events can be triggered on a per slide basis by binding to the <code>data-state</code> name.