W3cubDocs

/Angular 11

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–2021 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v11.angular.io/api/router/LoadChildren