Help Angular by taking a 1 minute survey!Go to surveyHome

LoadChildrenCallback

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

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

See also