The PointerEvent interface represents the state of a DOM event by a pointer such as the geometry of the contact point, the device that generated the event, the amount of pressure that was applied the contact surface, etc.
The PointerEvent interface represents the state of a DOM event by a pointer such as the geometry of the contact point, the device that generated the event, the amount of pressure that was applied the contact surface, etc.
(constructor & args)
Constructor.
The PointerEvent() constructor creates a new synthetic and untrusted web.event.PointerEvent
object instance.
See also: https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/PointerEvent
Constructor. The PointerEvent() constructor creates a new synthetic and untrusted `web.event.PointerEvent` object instance. See also: `https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/PointerEvent`
(get-coalesced-events this)
Method.
[Experimental]
The getCoalescedEvents() method of the web.event.PointerEvent
returns a sequence of all PointerEvent instances that were coalesced
the dispatched pointermove event.
var pointerEvents[] = PointerEvent.getCoalescedEvents()
See also: https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/getCoalescedEvents
Method. [Experimental] The getCoalescedEvents() method of the `web.event.PointerEvent` returns a sequence of all PointerEvent instances that were coalesced the dispatched pointermove event. `var pointerEvents[] = PointerEvent.getCoalescedEvents()` See also: `https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/getCoalescedEvents`
(height this)
Property.
[Read Only]
The height read-only property of the web.event.PointerEvent
represents the height of the pointer's contact geometry, along
y-axis (in CSS pixels). Depending on the source of the pointer
(for example a finger), for a given pointer, each event may produce
different value.
var contactHeight = pointerEvent.height;
See also: https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/height
Property. [Read Only] The height read-only property of the `web.event.PointerEvent` represents the height of the pointer's contact geometry, along y-axis (in CSS pixels). Depending on the source of the pointer (for example a finger), for a given pointer, each event may produce different value. `var contactHeight = pointerEvent.height;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/height`
(is-primary this)
Property.
[Read Only]
The isPrimary read-only property of the web.event.PointerEvent
indicates whether or not the pointer device that created the
is the primary pointer. It returns true if the pointer that caused
event to be fired is the primary device and returns false otherwise.
var isPrimary = pointerEvent.isPrimary;
See also: https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/isPrimary
Property. [Read Only] The isPrimary read-only property of the `web.event.PointerEvent` indicates whether or not the pointer device that created the is the primary pointer. It returns true if the pointer that caused event to be fired is the primary device and returns false otherwise. `var isPrimary = pointerEvent.isPrimary;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/isPrimary`
(pointer-id this)
Property.
[Read Only]
The pointerId read-only property of the web.event.PointerEvent
is an identifier assigned to a given pointer event. The identifier
unique, being different from the identifiers of all other active
events. Since the value may be randomly generated, it is not
to convey any particular meaning.
var id = pointerEvent.pointerId;
See also: https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/pointerId
Property. [Read Only] The pointerId read-only property of the `web.event.PointerEvent` is an identifier assigned to a given pointer event. The identifier unique, being different from the identifiers of all other active events. Since the value may be randomly generated, it is not to convey any particular meaning. `var id = pointerEvent.pointerId;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/pointerId`
(pointer-type this)
Property.
[Read Only]
The pointerType read-only property of the web.event.PointerEvent
indicates the device type (mouse, pen, or touch) that caused
given pointer event.
var pType = pointerEvent.pointerType;
See also: https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/pointerType
Property. [Read Only] The pointerType read-only property of the `web.event.PointerEvent` indicates the device type (mouse, pen, or touch) that caused given pointer event. `var pType = pointerEvent.pointerType;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/pointerType`
(pressure this)
Property.
[Read Only]
The pressure read-only property of the web.event.PointerEvent
indicates the normalized pressure of the pointer input.
var pressure = pointerEvent.pressure;
See also: https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/pressure
Property. [Read Only] The pressure read-only property of the `web.event.PointerEvent` indicates the normalized pressure of the pointer input. `var pressure = pointerEvent.pressure;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/pressure`
(tangential-pressure this)
Property.
[Read Only]
The tangentialPressure read-only property of the web.event.PointerEvent
represents the normalized tangential pressure of the pointer
(also known as barrel pressure or cylinder stress).
var tanPressure = pointerEvent.tangentialPressure;
See also: https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/tangentialPressure
Property. [Read Only] The tangentialPressure read-only property of the `web.event.PointerEvent` represents the normalized tangential pressure of the pointer (also known as barrel pressure or cylinder stress). `var tanPressure = pointerEvent.tangentialPressure;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/tangentialPressure`
(tilt-x this)
Property.
[Read Only]
The tiltX read-only property of the web.event.PointerEvent
is the angle (in degrees) between the Y-Z plane of the pointer
the screen. This property is typically only useful for a pen/stylus
type.
var tiltX = pointerEvent.tiltX;
See also: https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/tiltX
Property. [Read Only] The tiltX read-only property of the `web.event.PointerEvent` is the angle (in degrees) between the Y-Z plane of the pointer the screen. This property is typically only useful for a pen/stylus type. `var tiltX = pointerEvent.tiltX;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/tiltX`
(tilt-y this)
Property.
[Read Only]
The tiltY read-only property of the web.event.PointerEvent
is the angle (in degrees) between the X-Z plane of the pointer
the screen. This property is typically only useful for a pen/stylus
type.
var tiltY = pointerEvent.tiltY;
See also: https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/tiltY
Property. [Read Only] The tiltY read-only property of the `web.event.PointerEvent` is the angle (in degrees) between the X-Z plane of the pointer the screen. This property is typically only useful for a pen/stylus type. `var tiltY = pointerEvent.tiltY;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/tiltY`
(twist this)
Property.
[Read Only]
The twist read-only property of the web.event.PointerEvent
represents the clockwise rotation of the pointer (e.g., pen stylus)
its major axis, in degrees.
var twist = pointerEvent.twist;
See also: https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/twist
Property. [Read Only] The twist read-only property of the `web.event.PointerEvent` represents the clockwise rotation of the pointer (e.g., pen stylus) its major axis, in degrees. `var twist = pointerEvent.twist;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/twist`
(width this)
Property.
[Read Only]
The width read-only property of the web.event.PointerEvent
represents the width of the pointer's contact geometry along
x-axis, measured in CSS pixels. Depending on the source of the
device (such as a finger), for a given pointer, each event may
a different value.
var contactWidth = pointerEvent.width;
See also: https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/width
Property. [Read Only] The width read-only property of the `web.event.PointerEvent` represents the width of the pointer's contact geometry along x-axis, measured in CSS pixels. Depending on the source of the device (such as a finger), for a given pointer, each event may a different value. `var contactWidth = pointerEvent.width;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/width`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close