Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(114)

Unified Diff: third_party/polymer/v1_0/components/neon-animation/animations/transform-animation.html

Issue 1221923003: Update bower.json for Polymer elements and add PRESUBMIT.py (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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';

Powered by Google App Engine
This is Rietveld 408576698