Velo alternative for addEventListener JS method

I want to write a function in Velo for a mouse scroll event
this is my javascript code how to change it to Velo code?

document.addEventListener("wheel", function(e) {  });

Velo does not support addEventListener method what code should I use instead of addEventListener ?

You can do it with custom element.
https://support.wix.com/en/article/velo-about-custom-elements