(private app: ApplicationRef,
private router: Router,
@Inject(CSSINJECT_CONFIG_TOKEN) private config$: Subject<string>)
| 24 | @ViewChild('data') data: ElementRef<HTMLDivElement>; |
| 25 | |
| 26 | constructor(private app: ApplicationRef, |
| 27 | private router: Router, |
| 28 | @Inject(CSSINJECT_CONFIG_TOKEN) private config$: Subject<string>) { |
| 29 | /** |
| 30 | * temporary workaround for zoneless router |
| 31 | */ |
| 32 | router.events.subscribe((event) => { |
| 33 | if (event instanceof NavigationEnd) { |
| 34 | // app.tick(); |
| 35 | ɵdetectChanges(this); |
| 36 | } |
| 37 | }); |
| 38 | } |
| 39 | |
| 40 | async ngAfterViewInit() { |
| 41 | // config in css |
nothing calls this directly
no outgoing calls
no test coverage detected