const syntheticEvent = new WheelEvent("syntheticWheel", {
deltaZ: 4,
deltaMode: 0,
});
console.log(syntheticEvent.deltaZ);WheelEvent: deltaZ property / notebook
WheelEvent: deltaZ property
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.