Skip to content

Commit fe34a99

Browse files
committed
Update README.md
1 parent 7610fe4 commit fe34a99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ The css3 animation methods available are better documented here: http://www.w3sc
137137
```javascript
138138
$(selector).playKeyframe({
139139
name: 'trapdoor-sequence', // name of the keyframe you want to bind to the selected element
140-
duration: 1000, // [optional, default: 0, in ms] how long you want it to last in milliseconds
140+
duration: '1s', // [optional, default: 0, in ms] how long you want it to last in milliseconds
141141
timingFunction: 'linear', // [optional, default: ease] specifies the speed curve of the animation
142142
delay: 0, //[optional, default: 0] how long you want to wait before the animation starts
143143
iterationCount: 'infinite', //[optional, default:1] how many times you want the animation to repeat

0 commit comments

Comments
 (0)