Non-standard This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.
The non-standard webkitmouseforcechanged event is fired by Safari each time the amount of pressure changes on the trackpad/touchscreen.
| Bubbles | Unknown |
| Cancelable | Unknown |
| Interface | MouseEvent
|
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.
Specifications
Not part of any specification. Apple has a description at the Mac Developer Library.
Browser compatibility
Update compatibility data on GitHub
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Chrome
No support No |
Edge
No support No |
Firefox
No support No |
IE
No support No |
Opera
No support No |
Safari
Full support Yes |
WebView Android
No support No |
Chrome Android
No support No |
Firefox Android
No support No |
Opera Android
No support No |
Safari iOS
Full support Yes |
Samsung Internet Android
No support No |
Legend
- Full support
- Full support
- No support
- No support
- Non-standard. Expect poor cross-browser support.'
- Non-standard. Expect poor cross-browser support.
See also
- Force Touch events
webkitmouseforcewillbeginwebkitmouseforcedownwebkitmouseforceup
Element: webkitmouseforcechanged event by Mozilla Contributors is licensed under CC-BY-SA 2.5.