mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
Merge branch 'alpha50' into css-refactor
This commit is contained in:
@@ -42,14 +42,14 @@ export class IdRef {
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
onInit() {
|
||||
ngOnInit() {
|
||||
this.app.register(this.id, this.component);
|
||||
}
|
||||
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
onDestroy() {
|
||||
ngOnDestroy() {
|
||||
this.app.unregister(this.id);
|
||||
}
|
||||
}
|
||||
@@ -75,7 +75,7 @@ export class Attr {
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
onInit() {
|
||||
ngOnInit() {
|
||||
this.renderer.setElementAttribute(this.elementRef, this.attr, '');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user