Liking cljdoc? Tell your friends :D

web.PointerEvent

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.
raw docstring

constructorcljs

Constructor.

The PointerEvent() constructor creates a new synthetic and untrusted web.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.PointerEvent` object instance.

See also: `https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/PointerEvent`
sourceraw docstring

get-coalesced-eventscljs

(get-coalesced-events this)

Method.

The getCoalescedEvents() method of the web.PointerEvent interface 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.

The getCoalescedEvents() method of the `web.PointerEvent` interface
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`
sourceraw docstring

heightcljs

(height this)

Property.

The height read-only property of the web.PointerEvent interface the height of the pointer's contact geometry, along the y-axis CSS pixels). Depending on the source of the pointer device (for a finger), for a given pointer, each event may produce a different

var contactHeight = pointerEvent.height;

See also: https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/height

Property.

The height read-only property of the `web.PointerEvent` interface
the height of the pointer's contact geometry, along the y-axis
CSS pixels). Depending on the source of the pointer device (for
a finger), for a given pointer, each event may produce a different

`var contactHeight = pointerEvent.height;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/height`
sourceraw docstring

is-primarycljs

(is-primary this)

Property.

The isPrimary read-only property of the web.PointerEvent interface whether or not the pointer device that created the event is the pointer. It returns true if the pointer that caused the event 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.

The isPrimary read-only property of the `web.PointerEvent` interface
whether or not the pointer device that created the event is the
pointer. It returns true if the pointer that caused the event
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`
sourceraw docstring

pointer-idcljs

(pointer-id this)

Property.

The pointerId read-only property of the web.PointerEvent interface 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.

The pointerId read-only property of the `web.PointerEvent` interface
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`
sourceraw docstring

pointer-typecljs

(pointer-type this)

Property.

The pointerType read-only property of the web.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.

The pointerType read-only property of the `web.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`
sourceraw docstring

pressurecljs

(pressure this)

Property.

The pressure read-only property of the web.PointerEvent interface 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.

The pressure read-only property of the `web.PointerEvent` interface
the normalized pressure of the pointer input.

`var pressure = pointerEvent.pressure;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/pressure`
sourceraw docstring

set-height!cljs

(set-height! this val)

Property.

The height read-only property of the web.PointerEvent interface the height of the pointer's contact geometry, along the y-axis CSS pixels). Depending on the source of the pointer device (for a finger), for a given pointer, each event may produce a different

var contactHeight = pointerEvent.height;

See also: https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/height

Property.

The height read-only property of the `web.PointerEvent` interface
the height of the pointer's contact geometry, along the y-axis
CSS pixels). Depending on the source of the pointer device (for
a finger), for a given pointer, each event may produce a different

`var contactHeight = pointerEvent.height;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/height`
sourceraw docstring

set-is-primary!cljs

(set-is-primary! this val)

Property.

The isPrimary read-only property of the web.PointerEvent interface whether or not the pointer device that created the event is the pointer. It returns true if the pointer that caused the event 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.

The isPrimary read-only property of the `web.PointerEvent` interface
whether or not the pointer device that created the event is the
pointer. It returns true if the pointer that caused the event
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`
sourceraw docstring

set-pointer-id!cljs

(set-pointer-id! this val)

Property.

The pointerId read-only property of the web.PointerEvent interface 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.

The pointerId read-only property of the `web.PointerEvent` interface
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`
sourceraw docstring

set-pointer-type!cljs

(set-pointer-type! this val)

Property.

The pointerType read-only property of the web.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.

The pointerType read-only property of the `web.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`
sourceraw docstring

set-pressure!cljs

(set-pressure! this val)

Property.

The pressure read-only property of the web.PointerEvent interface 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.

The pressure read-only property of the `web.PointerEvent` interface
the normalized pressure of the pointer input.

`var pressure = pointerEvent.pressure;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/pressure`
sourceraw docstring

set-tangential-pressure!cljs

(set-tangential-pressure! this val)

Property.

The tangentialPressure read-only property of the web.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.

The tangentialPressure read-only property of the `web.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`
sourceraw docstring

set-tilt-x!cljs

(set-tilt-x! this val)

Property.

The tiltX read-only property of the web.PointerEvent interface the angle (in degrees) between the Y-Z plane of the pointer and 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.

The tiltX read-only property of the `web.PointerEvent` interface
the angle (in degrees) between the Y-Z plane of the pointer and
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`
sourceraw docstring

set-tilt-y!cljs

(set-tilt-y! this val)

Property.

The tiltY read-only property of the web.PointerEvent interface the angle (in degrees) between the X-Z plane of the pointer and 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.

The tiltY read-only property of the `web.PointerEvent` interface
the angle (in degrees) between the X-Z plane of the pointer and
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`
sourceraw docstring

set-twist!cljs

(set-twist! this val)

Property.

The twist read-only property of the web.PointerEvent interface the clockwise rotation of the pointer (e.g., pen stylus) around major axis, in degrees.

var twist = pointerEvent.twist;

See also: https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/twist

Property.

The twist read-only property of the `web.PointerEvent` interface
the clockwise rotation of the pointer (e.g., pen stylus) around
major axis, in degrees.

`var twist = pointerEvent.twist;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/twist`
sourceraw docstring

set-width!cljs

(set-width! this val)

Property.

The width read-only property of the web.PointerEvent interface the width of the pointer's contact geometry along the x-axis, in CSS pixels. Depending on the source of the pointer device as a finger), for a given pointer, each event may produce a different

var contactWidth = pointerEvent.width;

See also: https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/width

Property.

The width read-only property of the `web.PointerEvent` interface
the width of the pointer's contact geometry along the x-axis,
in CSS pixels. Depending on the source of the pointer device
as a finger), for a given pointer, each event may produce a different

`var contactWidth = pointerEvent.width;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/width`
sourceraw docstring

tangential-pressurecljs

(tangential-pressure this)

Property.

The tangentialPressure read-only property of the web.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.

The tangentialPressure read-only property of the `web.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`
sourceraw docstring

tilt-xcljs

(tilt-x this)

Property.

The tiltX read-only property of the web.PointerEvent interface the angle (in degrees) between the Y-Z plane of the pointer and 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.

The tiltX read-only property of the `web.PointerEvent` interface
the angle (in degrees) between the Y-Z plane of the pointer and
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`
sourceraw docstring

tilt-ycljs

(tilt-y this)

Property.

The tiltY read-only property of the web.PointerEvent interface the angle (in degrees) between the X-Z plane of the pointer and 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.

The tiltY read-only property of the `web.PointerEvent` interface
the angle (in degrees) between the X-Z plane of the pointer and
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`
sourceraw docstring

twistcljs

(twist this)

Property.

The twist read-only property of the web.PointerEvent interface the clockwise rotation of the pointer (e.g., pen stylus) around major axis, in degrees.

var twist = pointerEvent.twist;

See also: https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/twist

Property.

The twist read-only property of the `web.PointerEvent` interface
the clockwise rotation of the pointer (e.g., pen stylus) around
major axis, in degrees.

`var twist = pointerEvent.twist;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/twist`
sourceraw docstring

widthcljs

(width this)

Property.

The width read-only property of the web.PointerEvent interface the width of the pointer's contact geometry along the x-axis, in CSS pixels. Depending on the source of the pointer device as a finger), for a given pointer, each event may produce a different

var contactWidth = pointerEvent.width;

See also: https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/width

Property.

The width read-only property of the `web.PointerEvent` interface
the width of the pointer's contact geometry along the x-axis,
in CSS pixels. Depending on the source of the pointer device
as a finger), for a given pointer, each event may produce a different

`var contactWidth = pointerEvent.width;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/PointerEvent/width`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close