Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
pressure

pressure property

Returns the normalized pressure of the pointer input in the range of [0,1], where 0 and 1 represent the minimum and maximum pressure the hardware is capable of detecting, respectively.

This property is read-only.

Internet Explorer 10

 

Syntax

JavaScript
pressure = object.pressure

 

Property values

Type: Floating-point

Pressure of the pointer contact in range of 0 to 1.

Remarks

Note  This item described in this topic requires Windows 8.

Starting with Internet Explorer 11, this property returns a value of 0.5 for active contact (such as mouse button push) and 0 otherwise on hardware that does not support pressure.

See also

PointerEvent

 

 

Show:
© 2015 Microsoft