docs.rodeo

MDN Web Docs mirror

Force Touch events

{{DefaultAPISidebar("Force Touch Events")}} {{Non-standard_header}} 

Force Touch Events are a proprietary, Apple-specific feature which makes possible (where supported by the input hardware) new interactions based on how hard the user clicks or presses down on the touchscreen or trackpad.

Events

Event properties

The following property is known to be available on the {{domxref("Element/webkitmouseforcewillbegin_event", "webkitmouseforcewillbegin")}} , {{domxref("Element/mousedown_event", "mousedown")}} , {{domxref("Element/webkitmouseforcechanged_event", "webkitmouseforcechanged")}} , {{domxref("Element/webkitmouseforcedown_event", "webkitmouseforcedown")}} , {{domxref("Element/webkitmouseforceup_event", "webkitmouseforceup")}} , {{domxref("Element/mousemove_event", "mousemove")}} , and {{domxref("Element/mouseup_event", "mouseup")}}  event objects:

Constants

These constants are useful for determining the relative intensity of the pressure indicated by {{domxref("MouseEvent.webkitForce")}} :

Specifications

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

In this article

View on MDN