Firefox Tomorrow

web api event

Element: webkitmouseforcedown event

View on MDN ↗

After a mousedown event has been fired at the element, if and when sufficient pressure has been applied to the mouse or trackpad button to qualify as a “force click,” Safari begins sending webkitmouseforcedown events to the element.

webkitmouseforcedown is a proprietary, WebKit-specific event. It is part of the Force Touch events feature.

Syntax

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

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

onwebkitmouseforcedown = (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