Scroll stuff

This commit is contained in:
Max Lynch
2015-09-01 16:31:01 -05:00
parent 80452ee9fc
commit e083febf86
3 changed files with 5 additions and 3 deletions

View File

@@ -457,6 +457,8 @@ class Animate {
return inlineStyle(ele, this.toEffect);
}
this.fill = fill || 'both';
this.ele = ele;
this.promise = new Promise(res => { this.resolve = res; });
@@ -492,7 +494,7 @@ class Animate {
duration: self.duration || 0,
easing: self.easing,
playbackRate: self.rate || 1,
fill: fill || 'both'
fill: this.fill
});
self.player.onfinish = () => {