update to alpha.28)

domElement renamed to nativeElement
This commit is contained in:
Adam Bradley
2015-06-27 12:12:16 -05:00
parent a97527e0ad
commit 504ab46eb3
31 changed files with 5199 additions and 4348 deletions

View File

@ -15,11 +15,11 @@ import {ElementRef} from 'angular2/src/core/compiler/element_ref';
})
export class Icon {
constructor(elementRef: ElementRef) {
this.domElement = elementRef.domElement;
this.ele = elementRef.nativeElement;
}
onInit() {
if (this.name) {
this.domElement.classList.add(this.name);
this.ele.classList.add(this.name);
this.label = this.name;
}
}