W3cubDocs

/Angular 12

ROUTER_INITIALIZER

const

A DI token for the router initializer that is called after the app is bootstrapped.

const ROUTER_INITIALIZER: InjectionToken<(compRef: ComponentRef<any>) => void>;

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