Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'master' of github.com:nemec/deck.events.js

  • Loading branch information...
commit c1b7b5fcd60a68a61cad738b5345d284ea22cfb7 2 parents ff80acd + 4c5a0b9
@nemec nemec authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 README.md
View
5 README.md
@@ -44,6 +44,11 @@ Each event is given a direction that helps determine whether the user is
## Example
+If you put a placeholder slide `<div id="showGraph" class="slide"></div>` into
+ your source, this event will display a Javascript graph when you visit the
+ slide (forward) and remove it if you hit the back arrow and return to
+ the slide.
+
```
$("#showGraph").bind('deck.becameCurrent', function(ev, direction) {
if(direction == "forward"){
Please sign in to comment.
Something went wrong with that request. Please try again.