PointerEvent : MouseEvent
Constructors
Creates a new PointerEvent of the specified type
and initial properties. type
must be one of 'pointerover'
, 'pointerenter'
, 'pointerdown'
, 'pointermove'
, 'pointerup'
, 'pointercancel'
, 'pointerout'
, 'pointerleave'
, 'gotpointercapture'
, 'lostpointercapture'
.
Instance Properties
True if this pointer was the first pointer to begin contact for the current set of active pointers.
A value 0
to 1
indicating how much pressure the user applied. If the pointer device does not report pressure (such as a mouse), the value will be 0.5
.
Angle in degrees (-90
to 90
) of the pointer (stylus) away from the perpendicular to the surface in the X direction. This is the tilt around the Y axis. -90
means the pointer is laying flat on the surface and pointing to the right. 90
means the pointer is laying flat on the surface and pointing to the left. 0
means the pointer is perpendicular to the surface.
Angle in degrees (-90
to 90
) of the pointer (stylus) away from the perpendicular to the surface in the Y direction. This is the tilt around the X axis. -90
means the pointer is laying flat on the surface and pointing to the top. 90
means the pointer is laying flat on the surface and pointing to the bottom. 0
means the pointer is perpendicular to the surface.