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

Commit

Permalink
polymer-animation: change event name
Browse files Browse the repository at this point in the history
  • Loading branch information
Yvonne Yip committed Oct 24, 2013
1 parent e3b57ab commit a0f8f14
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion polymer-animation/polymer-animation.html
Original file line number Diff line number Diff line change
Expand Up @@ -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', {
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit a0f8f14

Please sign in to comment.