Firefox Tomorrow

web api overview

Force Touch events

View on MDN ↗

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 webkitmouseforcewillbegin, mousedown, webkitmouseforcechanged, webkitmouseforcedown, webkitmouseforceup, mousemove, and mouseup event objects:

  • webkitForce Read only
    • : The amount of pressure currently being applied to the trackpad/touchscreen.

Constants

These constants are useful for determining the relative intensity of the pressure indicated by webkitForce:

Specifications

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