Liking cljdoc? Tell your friends :D

web.TouchList

The TouchList interface represents a list of contact points on touch surface. For example, if the user has three fingers on touch surface (such as a screen or trackpad), the corresponding object would have one web.Touch object for each finger, for total of three entries.

The TouchList interface represents a list of contact points on
touch surface. For example, if the user has three fingers on
touch surface (such as a screen or trackpad), the corresponding
object would have one `web.Touch` object for each finger, for
total of three entries.
raw docstring

identified-touchcljs

(identified-touch this id)

Method.

The identifiedTouch() method returns the first web.Touch item the web.TouchList that matches the specified identifier.

var touchItem = touchList.identifiedTouch(id);

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

Method.

The identifiedTouch() method returns the first `web.Touch` item
the `web.TouchList` that matches the specified identifier.

`var touchItem = touchList.identifiedTouch(id);`

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

itemcljs

(item this index)

Method.

The item() method returns the web.Touch object at the specified in the web.TouchList.

var touchPoint = touchList.item(index);

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

Method.

The item() method returns the `web.Touch` object at the specified
in the `web.TouchList`.

`var touchPoint = touchList.item(index);`

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

lengthcljs

(length this)

Property.

The length read-only property indicates the number of items (touch in a given web.TouchList.

var numTouches = touchList.length;

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

Property.

The length read-only property indicates the number of items (touch
in a given `web.TouchList`.

`var numTouches = touchList.length;`

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

set-length!cljs

(set-length! this val)

Property.

The length read-only property indicates the number of items (touch in a given web.TouchList.

var numTouches = touchList.length;

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

Property.

The length read-only property indicates the number of items (touch
in a given `web.TouchList`.

`var numTouches = touchList.length;`

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

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

× close