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 = () => {

View File

@@ -84,7 +84,7 @@ export class Icon {
if (!this.ariaHidden) {
// the icon is either not within a button
// or the icon is within a button, and its an icon only button
this.label = this.name.replace('ion-', '').replace('ios-', '').replace('md-', '').replace('-', '');
this.label = this.name.replace('ion-', '').replace('ios-', '').replace('md-', '').replace('-', ' ');
}
}