Index: third_party/polymer/v1_0/components/neon-animation/animations/transform-animation.html |
diff --git a/third_party/polymer/v1_0/components/neon-animation/animations/transform-animation.html b/third_party/polymer/v1_0/components/neon-animation/animations/transform-animation.html |
index b0d7af5113f1353ce775c815c4f12a9a80edc305..f5963ed05fef826149cd82df1dc78ea2e0b01a59 100644 |
--- a/third_party/polymer/v1_0/components/neon-animation/animations/transform-animation.html |
+++ b/third_party/polymer/v1_0/components/neon-animation/animations/transform-animation.html |
@@ -13,13 +13,13 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN |
<link rel="import" href="../web-animations.html"> |
<!-- |
-`<slide-down-animation>` animates a custom transform on an element. Use this to animate multiple |
+`<transform-animation>` animates a custom transform on an element. Use this to animate multiple |
transform properties, or to apply a custom transform value. |
Configuration: |
``` |
{ |
- name: 'slide-down-animation', |
+ name: 'transform-animation', |
node: <node>, |
transformOrigin: <transform-origin>, |
transformFrom: <transform-from-string>, |
@@ -39,6 +39,15 @@ Configuration: |
Polymer.NeonAnimationBehavior |
], |
+ /** |
+ * @param {{ |
+ * node: !Element, |
+ * transformOrigin: (string|undefined), |
+ * transformFrom: (string|undefined), |
+ * transformTo: (string|undefined), |
+ * timing: (Object|undefined) |
+ * }} config |
+ */ |
configure: function(config) { |
var node = config.node; |
var transformFrom = config.transformFrom || 'none'; |