const
A DI token that provides a set of callbacks to be called for every component that is bootstrapped.
const APP_BOOTSTRAP_LISTENER: InjectionToken<((compRef: ComponentRef<any>) => void)[]>;
Each callback must take a ComponentRef
instance and return nothing.
(componentRef: ComponentRef) => void
© 2010–2022 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/core/APP_BOOTSTRAP_LISTENER