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

Commit a515e03

Browse files
author
Yvonne Yip
committed
polymer-scrub: fire event at the end of playTo
1 parent 6882e2d commit a515e03

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

polymer-scrub/polymer-scrub.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,9 @@
252252
delay: -t
253253
});
254254
}
255+
this.segment.onend = function() {
256+
this.fire('polymer-scrub-animation-end');
257+
}.bind(this);
255258
document.timeline.play(this.segment);
256259
},
257260
scrubAnimation: function() {

0 commit comments

Comments
 (0)