mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore(angular): upgrade to angular 2.0.0-beta.1
Biggest change was that renderer takes and not just .
This commit is contained in:
@@ -41,7 +41,7 @@ import {IonicApp} from './app';
|
||||
})
|
||||
export class IdRef {
|
||||
private _component: any;
|
||||
|
||||
|
||||
@Input() id: string;
|
||||
|
||||
constructor(private _app: IonicApp, elementRef: ElementRef, appViewManager: AppViewManager) {
|
||||
@@ -88,6 +88,6 @@ export class Attr {
|
||||
* @private
|
||||
*/
|
||||
ngOnInit() {
|
||||
this._renderer.setElementAttribute(this._elementRef, this.attr, '');
|
||||
this._renderer.setElementAttribute(this._elementRef.nativeElement, this.attr, '');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user