APP_BOOTSTRAP_LISTENER

const

npm Package @angular/core
Module import { APP_BOOTSTRAP_LISTENER } from '@angular/core';
Source core/src/application_tokens.ts

const APP_BOOTSTRAP_LISTENER: any;

Description

All callbacks provided via this token will be called for every component that is bootstrapped. Signature of the callback:

(componentRef: ComponentRef) => void.

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