Element: webkitmouseforcedown event

Non-standard: This feature is not standardized. We do not recommend using non-standard features in production, as they have limited browser support, and may change or be removed. However, they can be a suitable alternative in specific cases where no standard option exists.

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.

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

onwebkitmouseforcedown = (event) => { }

Event type

A MouseEvent. Inherits from UIEvent and Event.

Event UIEvent MouseEvent

Specifications

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

Browser compatibility

See also