Element: webkitmouseforcechanged event


目录

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 addEventListener():

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

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

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

See also


版本号 #3
由 壳壳虫 创建于 2026-10-31 03:27:53 UTC
由 cocobook-sync 更新于 2026-11-04 17:34:41 UTC