From a515e0327dc5ae17b99a2f841eb5b48e00bc5187 Mon Sep 17 00:00:00 2001 From: Yvonne Yip Date: Thu, 24 Oct 2013 15:53:14 -0700 Subject: [PATCH] polymer-scrub: fire event at the end of playTo --- polymer-scrub/polymer-scrub.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/polymer-scrub/polymer-scrub.html b/polymer-scrub/polymer-scrub.html index 5fc9a67..5ce04e9 100644 --- a/polymer-scrub/polymer-scrub.html +++ b/polymer-scrub/polymer-scrub.html @@ -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() {