MDN self-hosted library · e01.org

Element: webkitmouseforceup event

Force Touch Events

no runnable cells web-api-event upstream source

Force Touch Events

The non-standard webkitmouseforceup event is fired by Safari at an Element some time after the webkitmouseforcedown event, when pressure on the button has been reduced sufficiently to end the "force click".

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

Syntax

Use the event name in addEventListener():

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

Alternatively, assign to the event handler property of the interface:

onwebkitmouseforceup = (event) => { }

Event type

A MouseEvent. Inherits from UIEvent and Event.

MouseEvent

Specifications

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

Browser compatibility

See also