I tried to create a 360-degree image viewer in my Angular app. then I have this kind of piece of code
ngAfterViewInit(): void { this.panoViewer = new PanoViewer(