Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save netconstructor/196ffe41c3757322d163 to your computer and use it in GitHub Desktop.
Save netconstructor/196ffe41c3757322d163 to your computer and use it in GitHub Desktop.
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="css/reveal.css">
<link rel="stylesheet" href="css/theme/default.css" id="theme">
</head>
<body>
<div class="reveal">
<div class="slides">
<section>
<h1>First</h1>
</section>
<section data-state="stats">
<h1>Run stats()</h1>
</section>
<section>
<h1>Last</h1>
</section>
</div>
</div>
<script src="js/reveal.js"></script>
<script>
Reveal.initialize();
Reveal.addEventListener( 'stats', function() {
console.log( 'stats called!' );
} );
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment