chore(): make members private

This commit is contained in:
Adam Bradley
2015-11-15 20:37:24 -06:00
parent 9ef27f8c56
commit 13fa14dff6
24 changed files with 301 additions and 140 deletions

View File

@@ -39,10 +39,16 @@ export class IdRef {
this.component = appViewManager.getComponent(elementRef);
}
/**
* @private
*/
onInit() {
this.app.register(this.id, this.component);
}
/**
* @private
*/
onDestroy() {
this.app.unregister(this.id);
}
@@ -55,6 +61,10 @@ export class IdRef {
})
export class Attr {
constructor(private renderer: Renderer, private elementRef: ElementRef) {}
/**
* @private
*/
onInit() {
this.renderer.setElementAttribute(this.elementRef, this.attr, '');
}