Liking cljdoc? Tell your friends :D

web.TouchEvent

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

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

alt-keycljs

(alt-key this)

Property.

A js.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 `js.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.mobile.TouchList touch points (web.other.Touch objects) varies depending on event type, as 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.mobile.TouchList`
touch points (`web.other.Touch` objects) varies depending on
event type, as 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 js.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 `js.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 js.Boolean value indicating whether or not the Meta key is when the touch event is created. If this key is enabled, the 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 `js.Boolean` value indicating whether or not the Meta key is
when the touch event is created. If this key is enabled, the
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 js.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 `js.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 js.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 `js.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 js.Boolean value indicating whether or not the Meta key is when the touch event is created. If this key is enabled, the 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 `js.Boolean` value indicating whether or not the Meta key is
when the touch event is created. If this key is enabled, the
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 js.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 `js.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 js.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 `js.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.mobile.TouchList all the web.other.Touch objects for touch points that are still contact with the touch surface and whose touchstart event occurred the same target 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.mobile.TouchList`
all the `web.other.Touch` objects for touch points that are still
contact with the touch surface and whose touchstart event occurred
the same target `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.mobile.TouchList listing all the objects for touch points that are currently in contact with the surface, regardless of whether or not they've changed or what target element 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.mobile.TouchList` listing all the
objects for touch points that are currently in contact with the
surface, regardless of whether or not they've changed or what
target element 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