Skip to content

event onMouseWheel (client-side)

This event triggers whenever the user scrolls up or down wheel on his mouse.


int value
  • int value: this value represents direction in which user is scrolling. If value is equal to 1, then user is scrolling up and for value -1 it means is scrolling down.