Firefox Tomorrow

web api event

Element: webkitmouseforcechanged event

View on MDN ↗

The non-standard webkitmouseforcechanged event is fired by Safari each time the amount of pressure changes on the trackpad/touchscreen.

webkitmouseforcechanged is a proprietary, WebKit-specific event introduced by Apple to support their Force Touch events feature.

This event first fires after the mousedown event and stops firing before the mouseup event.

Syntax

Use the event name in methods like addEventListener(), or set an event handler property.

addEventListener("webkitmouseforcechanged", (event) => { })

onwebkitmouseforcechanged = (event) => { }

Event type

A MouseEvent. Inherits from UIEvent and Event.

Specifications

Not part of any specification. Apple has a description at the Mac Developer Library.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.

See also