refactor(core): view engine, refactor runtime data
Structure in a better way, in preparation for queries.
This commit is contained in:

committed by
Victor Berchet

parent
05b2b49711
commit
fc8694ed11
@ -84,8 +84,8 @@ export class AppModule {
|
||||
}
|
||||
bootstrap() {
|
||||
this.rootView = createRootView(new DefaultServices(null, this.sanitizer), TreeComponent_Host);
|
||||
this.rootComp = this.rootView.nodes[1].provider;
|
||||
this.rootEl = this.rootView.nodes[0].renderNode;
|
||||
this.rootComp = this.rootView.nodes[1].provider.instance;
|
||||
this.rootEl = this.rootView.nodes[0].elementOrText.node;
|
||||
}
|
||||
tick() { checkAndUpdateView(this.rootView); }
|
||||
}
|
||||
|
Reference in New Issue
Block a user