back button updates

This commit is contained in:
Adam Bradley
2015-07-20 16:19:45 -05:00
parent 0dfd091eef
commit e30cfed8d4
5 changed files with 35 additions and 18 deletions

View File

@ -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: [