Liking cljdoc? Tell your friends :D

web.TouchEvent

The TouchEvent interface represents an web.UIEvent which is when the state of contacts with a touch-sensitive surface changes. surface can be a touch screen or trackpad, for example. The event describe one or more points of contact with the screen and includes for detecting movement, addition and removal of contact points, so forth.

The TouchEvent interface represents an `web.UIEvent` which is
when the state of contacts with a touch-sensitive surface changes.
surface can be a touch screen or trackpad, for example. The event
describe one or more points of contact with the screen and includes
for detecting movement, addition and removal of contact points,
so forth.
raw docstring

alt-keycljs

(alt-key this)

Property.

A web.Boolean value indicating whether or not the alt (Alternate) is enabled when the touch event is created. If the alt key is the attribute's value is true. Otherwise, it is false.

var altEnabled = touchEvent.altKey;

See also: https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/altKey

Property.

A `web.Boolean` value indicating whether or not the alt (Alternate)
is enabled when the touch event is created. If the alt key is
the attribute's value is true. Otherwise, it is false.

`var altEnabled = touchEvent.altKey;`

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

changed-touchescljs

(changed-touches this)

Property.

The changedTouches read-only property is a web.TouchList whose points (web.Touch objects) varies depending on the event type, follows:

var changes = touchEvent.changedTouches;

See also: https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/changedTouches

Property.

The changedTouches read-only property is a `web.TouchList` whose
points (`web.Touch` objects) varies depending on the event type,
follows:

`var changes = touchEvent.changedTouches;`

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

constructorcljs

Constructor.

The TouchEvent() constructor creates a new web.TouchEvent.

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

Constructor.

The TouchEvent() constructor creates a new `web.TouchEvent`.

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

ctrl-keycljs

(ctrl-key this)

Property.

A web.Boolean value indicating whether the control (Control) is enabled when the touch event is created. If this key is enabled, attribute's value is true. Otherwise, it is false.

var ctrlEnabled = touchEvent.ctrlKey;

See also: https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/ctrlKey

Property.

A `web.Boolean` value indicating whether the control (Control)
is enabled when the touch event is created. If this key is enabled,
attribute's value is true. Otherwise, it is false.

`var ctrlEnabled = touchEvent.ctrlKey;`

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

meta-keycljs

(meta-key this)

Property.

A web.Boolean value indicating whether or not the Meta key enabled when the touch event is created. If this key is enabled, attribute's value is true. Otherwise, it is false.

var metaEnabled = touchEvent.metaKey;

See also: https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/metaKey

Property.

A `web.Boolean` value indicating whether or not the Meta key
enabled when the touch event is created. If this key is enabled,
attribute's value is true. Otherwise, it is false.

`var metaEnabled = touchEvent.metaKey;`

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

set-alt-key!cljs

(set-alt-key! this val)

Property.

A web.Boolean value indicating whether or not the alt (Alternate) is enabled when the touch event is created. If the alt key is the attribute's value is true. Otherwise, it is false.

var altEnabled = touchEvent.altKey;

See also: https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/altKey

Property.

A `web.Boolean` value indicating whether or not the alt (Alternate)
is enabled when the touch event is created. If the alt key is
the attribute's value is true. Otherwise, it is false.

`var altEnabled = touchEvent.altKey;`

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

set-ctrl-key!cljs

(set-ctrl-key! this val)

Property.

A web.Boolean value indicating whether the control (Control) is enabled when the touch event is created. If this key is enabled, attribute's value is true. Otherwise, it is false.

var ctrlEnabled = touchEvent.ctrlKey;

See also: https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/ctrlKey

Property.

A `web.Boolean` value indicating whether the control (Control)
is enabled when the touch event is created. If this key is enabled,
attribute's value is true. Otherwise, it is false.

`var ctrlEnabled = touchEvent.ctrlKey;`

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

set-meta-key!cljs

(set-meta-key! this val)

Property.

A web.Boolean value indicating whether or not the Meta key enabled when the touch event is created. If this key is enabled, attribute's value is true. Otherwise, it is false.

var metaEnabled = touchEvent.metaKey;

See also: https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/metaKey

Property.

A `web.Boolean` value indicating whether or not the Meta key
enabled when the touch event is created. If this key is enabled,
attribute's value is true. Otherwise, it is false.

`var metaEnabled = touchEvent.metaKey;`

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

set-shift-key!cljs

(set-shift-key! this val)

Property.

A web.Boolean value indicating whether or not the shift key enabled when the touch event is created. If this key is enabled, attribute's value is true. Otherwise, it is false.

var shiftEnabled = touchEvent.shiftKey;

See also: https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/shiftKey

Property.

A `web.Boolean` value indicating whether or not the shift key
enabled when the touch event is created. If this key is enabled,
attribute's value is true. Otherwise, it is false.

`var shiftEnabled = touchEvent.shiftKey;`

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

shift-keycljs

(shift-key this)

Property.

A web.Boolean value indicating whether or not the shift key enabled when the touch event is created. If this key is enabled, attribute's value is true. Otherwise, it is false.

var shiftEnabled = touchEvent.shiftKey;

See also: https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/shiftKey

Property.

A `web.Boolean` value indicating whether or not the shift key
enabled when the touch event is created. If this key is enabled,
attribute's value is true. Otherwise, it is false.

`var shiftEnabled = touchEvent.shiftKey;`

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

target-touchescljs

(target-touches this)

Property.

The targetTouches read-only property is a web.TouchList listing the web.Touch objects for touch points that are still in contact the touch surface and whose touchstart event occurred inside same target web.element as the current target element.

var touches = touchEvent.targetTouches;

See also: https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/targetTouches

Property.

The targetTouches read-only property is a `web.TouchList` listing
the `web.Touch` objects for touch points that are still in contact
the touch surface and whose touchstart event occurred inside
same target `web.element` as the current target element.

`var touches = touchEvent.targetTouches;`

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

touchescljs

(touches this)

Property.

touches is a read-only web.TouchList listing all the web.Touch for touch points that are currently in contact with the touch regardless of whether or not they've changed or what their target was at touchstart time.

var touches = touchEvent.touches;

See also: https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/touches

Property.

touches is a read-only `web.TouchList` listing all the `web.Touch`
for touch points that are currently in contact with the touch
regardless of whether or not they've changed or what their target
was at touchstart time.

`var touches = touchEvent.touches;`

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

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

× close