I'm currently exploring if it's possible to subscribe to the zooming event in a Highmap using Angular 2 with Typescript for Highcharts/Highmap, or possibly even to a mouse wheel scrolling event.
@HostListener('scroll', ['$event'])
onScroll(e) {
// do something - but it never gets reached
}
The function is only called when you scroll on the div's border, not within the map itself (which only zooms in/out). However, I want to add additional functionality.
I have already attempted setting (scroll)="yourFunction($event)"
on both the map and a container div.
Do you have any suggestions for how to achieve this?