chore(angular): upgrade to angular 2.0.0-beta.1

Biggest change was that renderer takes  and not just .
This commit is contained in:
Adam Bradley
2016-01-20 11:15:01 -06:00
parent 94ef1f4ce1
commit ee106377fc
21 changed files with 163 additions and 107 deletions

View File

@ -147,11 +147,11 @@ export class Select {
ngOnInit() {
if (!this.id) {
this.id = 'sel-' + this.form.nextId();
this.renderer.setElementAttribute(this.elementRef, 'id', this.id);
this.renderer.setElementAttribute(this.elementRef.nativeElement, 'id', this.id);
}
this.labelId = 'lbl-' + this.id;
this.renderer.setElementAttribute(this.elementRef, 'aria-labelledby', this.labelId);
this.renderer.setElementAttribute(this.elementRef.nativeElement, 'aria-labelledby', this.labelId);
}
/**