From a0f8f14e6c30b9c27501aeff974001d7d8f6a719 Mon Sep 17 00:00:00 2001 From: Yvonne Yip Date: Thu, 24 Oct 2013 09:36:03 -0700 Subject: [PATCH] polymer-animation: change event name --- polymer-animation/polymer-animation.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/polymer-animation/polymer-animation.html b/polymer-animation/polymer-animation.html index bbc1cf9..d477088 100644 --- a/polymer-animation/polymer-animation.html +++ b/polymer-animation/polymer-animation.html @@ -51,6 +51,9 @@ * * Fired when the animation completes * @event polymer-animation-end + * + * Fired when the web animation object changes. + * @event polymer-animation-change * */ Polymer('polymer-animation', { @@ -201,7 +204,7 @@ // TODO: attributes are not case sensitive. // TODO: Sending 'this' with the event because if the children is // in ShadowDOM the sender becomes the shadow host. - this.fire('animationchange', this); + this.fire('polymer-animation-change', this); }, targetSelectorChanged: function() { if (this.targetSelector) {