Capture scroll event on Palette

My requirement is load data into Palette when the user scrolls to the end. I thought of capturing scroll bar event or load data using lazy loading feature.

I am unable to find capturing scroll event or lazy loading option.

Could you please help me to resolve this? Also please let me know how we can achieve this.

The way to get scroll or zoom events is via a “ViewportBoundsChanged” DiagramEvent listener.
https://gojs.net/latest/intro/events.html#ViewportBoundsChanged