mouseWheel()

Example

When the mouse wheel is scrolled

Syntax

chevron-rightFull Code Examplehashtag

Description

This function is called any time a vertical mouse wheel event is detected, either triggered by rolling an actual mouse wheel or by a touchpad.

circle-info

Find these documents helpful? Let the people who made them help your child learn to code at Strivematharrow-up-right!

We'd love to hear your Feedback/Comments herearrow-up-right.

Last updated