LoadChildren

From Get docs
< @angular/routerAngular/docs/10/api/router/loadchildren


LoadChildren

type-alias

A function that returns a set of routes to load.

See more...

type LoadChildren = LoadChildrenCallback | DeprecatedLoadChildren;

See also

  • loadChildrenCallback

Description

The string form of LoadChildren is deprecated (see DeprecatedLoadChildren). The function form (LoadChildrenCallback) should be used instead.


© 2010–2020 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v10.angular.io/api/router/LoadChildren