LoadChildrenCallback

From Get docs
< @angular/routerAngular/docs/7/api/router/loadchildrencallback


LoadChildrenCallback

type-alias

A function that is called to resolve a collection of lazy-loaded routes.

type LoadChildrenCallback = () => Type<any> | NgModuleFactory<any> | Promise<Type<any>> | Observable<Type<any>>;

See also

  • Route#loadChildren.


© 2010–2019 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v7.angular.io/api/router/LoadChildrenCallback