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

Commit

Permalink
polymer-scrub: fire event at the end of playTo
Browse files Browse the repository at this point in the history
  • Loading branch information
Yvonne Yip committed Oct 24, 2013
1 parent 6882e2d commit a515e03
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions polymer-scrub/polymer-scrub.html
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,9 @@
delay: -t
});
}
this.segment.onend = function() {
this.fire('polymer-scrub-animation-end');
}.bind(this);
document.timeline.play(this.segment);
},
scrubAnimation: function() {
Expand Down

0 comments on commit a515e03

Please sign in to comment.