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.
(alt-key this)
Property.
[Read Only]
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. [Read Only] 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`
(changed-touches this)
Property.
[Read Only]
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. [Read Only] 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`
(constructor & args)
Constructor.
The TouchEvent() constructor creates a new web.event.TouchEvent
.
See also: https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/TouchEvent
Constructor. The TouchEvent() constructor creates a new `web.event.TouchEvent`. See also: `https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/TouchEvent`
(ctrl-key this)
Property.
[Read Only]
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. [Read Only] 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`
(meta-key this)
Property.
[Read Only]
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. [Read Only] 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`
(rotation this)
Property.
Change in rotation (in degrees) since the event's beginning. values indicate clockwise rotation; negative values indicate rotation. Initial value: 0.0
Property. Change in rotation (in degrees) since the event's beginning. values indicate clockwise rotation; negative values indicate rotation. Initial value: 0.0
(scale this)
Property.
Distance between two digits since the event's beginning. Expressed a floating-point multiple of the initial distance between the at the beginning of the event. Values below 1.0 indicate an inward (zoom out). Values above 1.0 indicate an outward unpinch (zoom Initial value: 1.0
Property. Distance between two digits since the event's beginning. Expressed a floating-point multiple of the initial distance between the at the beginning of the event. Values below 1.0 indicate an inward (zoom out). Values above 1.0 indicate an outward unpinch (zoom Initial value: 1.0
(set-rotation! this val)
Property.
Change in rotation (in degrees) since the event's beginning. values indicate clockwise rotation; negative values indicate rotation. Initial value: 0.0
Property. Change in rotation (in degrees) since the event's beginning. values indicate clockwise rotation; negative values indicate rotation. Initial value: 0.0
(set-scale! this val)
Property.
Distance between two digits since the event's beginning. Expressed a floating-point multiple of the initial distance between the at the beginning of the event. Values below 1.0 indicate an inward (zoom out). Values above 1.0 indicate an outward unpinch (zoom Initial value: 1.0
Property. Distance between two digits since the event's beginning. Expressed a floating-point multiple of the initial distance between the at the beginning of the event. Values below 1.0 indicate an inward (zoom out). Values above 1.0 indicate an outward unpinch (zoom Initial value: 1.0
(shift-key this)
Property.
[Read Only]
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. [Read Only] 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`
(target-touches this)
Property.
[Read Only]
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. [Read Only] 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`
(touches this)
Property.
[Read Only]
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. [Read Only] 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`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close