import { Component, ElementRef, ViewChild, provideZonelessChangeDetection, type AfterViewInit, } from '@angular/core'; import { bootstrapApplication } from '@angular/platform-browser'; import { runProbe } from '@embedpdf/bundler-probe'; @Component({ selector: 'app-root', template: '
running…
' }) class App implements AfterViewInit { @ViewChild('probe') probe!: ElementRef; ngAfterViewInit() { void runProbe(this.probe.nativeElement); } } bootstrapApplication(App, { providers: [provideZonelessChangeDetection()] }).catch(console.error);