animate with fill mode 'both'

This commit is contained in:
Adam Bradley
2015-08-28 15:26:06 -05:00
parent c2ab2a4a55
commit f8fc17dc42
2 changed files with 3 additions and 2 deletions

View File

@@ -482,7 +482,8 @@ class Animate {
self.player = self.ele.animate(self.effects, {
duration: self.duration || 0,
easing: self.easing,
playbackRate: self.rate || 1
playbackRate: self.rate || 1,
fill: 'both'
});
self.player.onfinish = () => {