LoadChildren

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


LoadChildren

type-alias

A string of the form path/to/file#exportName that acts as a URL for a set of routes to load, or a function that returns such a set.

See more...

type LoadChildren = LoadChildrenCallback | DeprecatedLoadChildren;

See also

  • Route#loadChildren.

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://v8.angular.io/api/router/LoadChildren