APP_BOOTSTRAP_LISTENER

From Get docs
< @angular/coreAngular/docs/10/api/core/app bootstrap listener


APP_BOOTSTRAP_LISTENER

const

A DI token that provides a set of callbacks to be called for every component that is bootstrapped.

See more...

const APP_BOOTSTRAP_LISTENER: InjectionToken<((compRef: ComponentRef<any>) => void)[]>;

Description

Each callback must take a ComponentRef instance and return nothing.

(componentRef: ComponentRef) => void


© 2010–2020 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v10.angular.io/api/core/APP_BOOTSTRAP_LISTENER