W3cubDocs

/Angular

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

Description

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

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