Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
update duration to milliseconds
Browse files Browse the repository at this point in the history
  • Loading branch information
Yvonne Yip committed Apr 23, 2014
1 parent a075aa8 commit 1a29316
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<body>
<div id="target">animated!</div>
<div class="animations">
<polymer-animation duration="1">
<polymer-animation duration="1000">
raw
<polymer-animation-keyframe>
<polymer-animation-prop name="opacity" value="1">
Expand All @@ -55,7 +55,7 @@
</polymer-animation>
<polymer-animation-group type="seq">
raw group
<polymer-animation duration="0.3">
<polymer-animation duration="300">
<polymer-animation-keyframe>
<polymer-animation-prop name="opacity" value="1">
</polymer-animation-prop>
Expand All @@ -69,7 +69,7 @@
</polymer-animation-prop>
</polymer-animation-keyframe>
</polymer-animation>
<polymer-animation duration="0.3">
<polymer-animation duration="300">
<polymer-animation-keyframe>
<polymer-animation-prop name="transform" value="scale(1)">
</polymer-animation-prop>
Expand All @@ -84,8 +84,8 @@
</polymer-animation-keyframe>
</polymer-animation>
</polymer-animation-group>
<polymer-animation id="sample-animation" duration="0.5">sample</polymer-animation>
<polymer-bounce duration="1">bounce</polymer-bounce>
<polymer-animation id="sample-animation" duration="500">sample</polymer-animation>
<polymer-bounce duration="1000">bounce</polymer-bounce>
<polymer-shake>shake</polymer-shake>
<!--<polymer-shake duration="Infinity">shake forever</polymer-shake>//-->
<polymer-flip>flip X</polymer-flip>
Expand Down

0 comments on commit 1a29316

Please sign in to comment.