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

APP_BOOTSTRAP_LISTENER

一个 DI 令牌,该令牌提供了一组针对每个要引导的组件调用的回调。

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)[]>;
    

说明

每个回调都必须接受 ComponentRef 实例,并且不返回任何内容。

Each callback must take a ComponentRef instance and return nothing.

(componentRef: ComponentRef) => void