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

Class LoadedModule

packages/router/test/integration/lazy_loading.spec.ts:84–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82 class ChildLazyLoadedComponent {}
83
84 @NgModule({
85 declarations: [ParentLazyLoadedComponent, ChildLazyLoadedComponent],
86 imports: [
87 RouterModule.forChild([
88 {
89 path: 'loaded',
90 component: ParentLazyLoadedComponent,
91 children: [{path: 'child', component: ChildLazyLoadedComponent}],
92 },
93 ]),
94 ],
95 })
96 class LoadedModule {}
97
98 const fixture = await createRoot(router, RootCmp);
99

Callers

nothing calls this directly

Calls 5

NgModuleInterface · 0.90
injectFunction · 0.90
resolveMethod · 0.65
forChildMethod · 0.45
forRootMethod · 0.45

Tested by

no test coverage detected