W3cubDocs

/Angular

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://angular.io/api/core/APP_BOOTSTRAP_LISTENER