Permalink
Browse files

Syntax fix

  • Loading branch information...
Benjamin den Boer
Benjamin den Boer committed Sep 18, 2014
1 parent d7c40ce commit 66e8ba2d91ef10af7dfbf85c08a61061b08cf936
Showing with 4 additions and 4 deletions.
  1. +4 −4 readme.md
@@ -26,15 +26,15 @@ imageLayer.states.add({
third: {y:300, scale:1.3},
fourth: {y:200, scale:0.9, rotationZ:200},
})
```javascript
###### Set default animation options
```
###### Set default animation options
```javascript
imageLayer.states.animationOptions = {
curve: "spring(500,12,0)"
}
```javascript
###### Toggle states on click
```
###### Toggle states on click
```javascript
imageLayer.on(Events.Click, function() {
imageLayer.states.next()
})

0 comments on commit 66e8ba2

Please sign in to comment.