diff options
author | Hakim El Hattab <hakim.elhattab@gmail.com> | 2012-07-12 23:08:21 -0400 |
---|---|---|
committer | Hakim El Hattab <hakim.elhattab@gmail.com> | 2012-07-12 23:08:21 -0400 |
commit | 7366f607ceac8b08fbd67923d3fc9ef16a52db84 (patch) | |
tree | 5b3f2eeb94c272582a24127352579a911860f2d0 /index.html | |
parent | 5bc5435b61d729e1eb0209da4a01a76b42ee3a6b (diff) | |
download | fosdem-2018-presentation-7366f607ceac8b08fbd67923d3fc9ef16a52db84.tar fosdem-2018-presentation-7366f607ceac8b08fbd67923d3fc9ef16a52db84.tar.gz |
add beige theme, move theme class from .reveal to document element, use log instead of alert to demonstrate custom events
Diffstat (limited to 'index.html')
-rw-r--r-- | index.html | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -164,7 +164,7 @@ Additionally custom events can be triggered on a per slide basis by binding to the <code>data-state</code> name. </p> <pre><code contenteditable style="font-size: 18px; margin-top: 20px;">Reveal.addEventListener( 'customevent', function() { - alert( '"customevent" has fired' ); + console.log( '"customevent" has fired' ); } ); </code></pre> </section> @@ -271,7 +271,7 @@ function linkify( selector ) { // Fires when a slide with data-state=customevent is activated Reveal.addEventListener( 'customevent', function() { - alert( '"customevent" has fired' ); + console.log( '"customevent" has fired' ); } ); // Fires each time a new slide is activated @@ -299,7 +299,7 @@ function linkify( selector ) { rollingLinks: true, // UI style - theme: query.theme || 'default', // default/neon + theme: query.theme || 'default', // default/neon/beige // Transition style transition: query.transition || 'default' // default/cube/page/concave/linear(2d) |