mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 19:57:22 +08:00
back button updates
This commit is contained in:
@ -68,11 +68,13 @@ export class IconDirective {
|
||||
onInit() {
|
||||
if (this.name) {
|
||||
this.ele.classList.add(this.name);
|
||||
this.label = this.name;
|
||||
this.label = this.name.replace('ion-', '').replace('ios-', '').replace('md-', '').replace('-', '');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@IonicComponent({
|
||||
selector: 'ion-icon',
|
||||
properties: [
|
||||
|
Reference in New Issue
Block a user