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