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

Class LoadedModule

packages/router/test/integration/route_data.spec.ts:237–249  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

235 class LazyComponent1 {}
236
237 @NgModule({
238 declarations: [LazyComponent1],
239 imports: [
240 RouterModule.forChild([
241 {
242 path: 'loaded',
243 component: LazyComponent1,
244 resolve: {e1: 'resolveEmpty', e2: 'resolveEmpty'},
245 },
246 ]),
247 ],
248 })
249 class LoadedModule {}
250
251 router.resetConfig([{path: 'lazy', loadChildren: () => LoadedModule}]);
252

Callers

nothing calls this directly

Calls 2

NgModuleInterface · 0.90
forChildMethod · 0.45

Tested by

no test coverage detected