填写这份《一分钟调查》,帮我们(开发组)做得更好!去填写Home

APP_BOOTSTRAP_LISTENER

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)[]>;
      
      const APP_BOOTSTRAP_LISTENER: InjectionToken<((compRef: ComponentRef<any>) => void)[]>;
    

说明

Each callback must take a ComponentRef instance and return nothing.

(componentRef: ComponentRef) => void