APP_BOOTSTRAP_LISTENER
constant
A DI token that provides a set of callbacks to be called for every component that is bootstrapped.
API
const APP_BOOTSTRAP_LISTENER: InjectionToken<readonly ((compRef: ComponentRef<any>) => void)[]>;
Description
A DI token that provides a set of callbacks to be called for every component that is bootstrapped.
Each callback must take a ComponentRef
instance and return nothing.
(componentRef: ComponentRef) => void
Jump to details