跳转到主要内容

Element: webkitmouseforceup event

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.

Specifications

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

Browser compatibility

See also