mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
animate with fill mode 'both'
This commit is contained in:
@@ -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 = () => {
|
||||
|
||||
@@ -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('-', ' ');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user