Add zoom wheel event to the html component inside canvas

I have made html div into the viewer container, but wheel zoom event does’nt work. How to add zoom wheel event to element when cursor in the div?

Hi @terzogenito,

Thank you for your community forum post! Using the scroll wheel to zoom should be standard functionality with the CesiumJS viewer. It’s possible that you have not initialized the div correctly. I recommend checking out our CesiumJS Quickstart guide for instructions on how to get started with CesiumJS.