MCPcopy Create free account
hub / github.com/angular/angular / AppModuleThree

Class AppModuleThree

packages/examples/core/ts/platform/platform.ts:73–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71
72@NgModule({imports: [BrowserModule], declarations: [ComponentFour]})
73export class AppModuleThree implements DoBootstrap {
74 // #docregion domNode
75 ngDoBootstrap(appRef: ApplicationRef) {
76 const element = document.querySelector('#root-element');
77 appRef.bootstrap(ComponentFour, element!);
78 }
79 // #enddocregion domNode
80}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected