Passive event listeners
Event listeners created with the `passive: true` option cannot cancel (`preventDefault()`) the events they receive. Primarily intended to be used with touch events and `wheel` events. Since they cannot prevent scrolls, passive event listeners allow the browser to perform optimizations that result in smoother scrolling.
element api: `mousewheel` event
element api: `wheel` event
eventtarget api: addeventlistener: form with `options` object supported (third parameter can be either options or a `boolean`, for backwards compatibility): `options.passive` parameter defaults to `true` for `wheel` and `mousewheel` events
wheelevent api
wheelevent api: deltamode
wheelevent api: deltax
wheelevent api: deltay
wheelevent api: deltaz
wheelevent api: pinch-to-zoom maps to `wheelevent` + `ctrl` key.
wheelevent api: wheeldelta
wheelevent api: wheeldeltax
wheelevent api: wheeldeltay
wheelevent api: `wheelevent()` constructor
14 results found.