<html>
<body onwheel="myFunction(event)">
<h1>WheelEvent deltaY Property</h1>
<p>Scroll this page to see the value of the deltaY property.</p>
<p id="demo"></p>
<script>
function myFunction(event) {
var y = event.deltaY;
document.getElementById("demo").innerHTML = y;
}
</script>
</body>
<!-- Mirrored from www.w3schools.com/jsref/tryit.asp?filename=tryjsref_event_wheel_deltay by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 27 Jan 2020 03:03:01 GMT -->
</html>