The Touch interface represents a single contact point on a touch-sensitive The contact point is commonly a finger or stylus and the device be a touchscreen or trackpad.
The Touch interface represents a single contact point on a touch-sensitive The contact point is commonly a finger or stylus and the device be a touchscreen or trackpad.
(client-x this)
Property.
The Touch.clientX read-only property returns the X coordinate the touch point relative to the viewport, not including any scroll
touchItem.clientX;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Touch/clientX
Property. The Touch.clientX read-only property returns the X coordinate the touch point relative to the viewport, not including any scroll `touchItem.clientX;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Touch/clientX`
(client-y this)
Property.
The Touch.clientY read-only property returns the Y coordinate the touch point relative to the browser's viewport, not including scroll offset.
touchItem.clientY;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Touch/clientY
Property. The Touch.clientY read-only property returns the Y coordinate the touch point relative to the browser's viewport, not including scroll offset. `touchItem.clientY;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Touch/clientY`
Constructor.
The Touch() constructor creates a new web.other.Touch
object.
See also: https://developer.mozilla.org/en-US/docs/Web/API/Touch/Touch
Constructor. The Touch() constructor creates a new `web.other.Touch` object. See also: `https://developer.mozilla.org/en-US/docs/Web/API/Touch/Touch`
(force this)
Property.
The Touch.force read-only property returns the amount of pressure
user is applying to the touch surface for a web.other.Touch
touchItem.force;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Touch/force
Property. The Touch.force read-only property returns the amount of pressure user is applying to the touch surface for a `web.other.Touch` `touchItem.force;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Touch/force`
(identifier this)
Property.
The Touch.identifier returns a value uniquely identifying this of contact with the touch surface. This value remains consistent every event involving this finger's (or stylus's) movement on surface until it is lifted off the surface.
touchItem.identifier;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Touch/identifier
Property. The Touch.identifier returns a value uniquely identifying this of contact with the touch surface. This value remains consistent every event involving this finger's (or stylus's) movement on surface until it is lifted off the surface. `touchItem.identifier;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Touch/identifier`
(page-x this)
Property.
The Touch.pageX read-only property returns the X coordinate of touch point relative to the viewport, including any scroll offset.
touchItem.pageX;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Touch/pageX
Property. The Touch.pageX read-only property returns the X coordinate of touch point relative to the viewport, including any scroll offset. `touchItem.pageX;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Touch/pageX`
(page-y this)
Property.
The Touch.pageY read-only property returns the Y coordinate of touch point relative to the viewport, including any scroll offset.
touchItem.pageY;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Touch/pageY
Property. The Touch.pageY read-only property returns the Y coordinate of touch point relative to the viewport, including any scroll offset. `touchItem.pageY;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Touch/pageY`
(radius-x this)
Property.
Returns the X radius of the ellipse that most closely circumscribes
area of contact with the touch surface. The value is in CSS pixels
the same scale as Touch.screenX
.
var xRadius = touchItem.radiusX;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Touch/radiusX
Property. Returns the X radius of the ellipse that most closely circumscribes area of contact with the touch surface. The value is in CSS pixels the same scale as `Touch.screenX`. `var xRadius = touchItem.radiusX;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Touch/radiusX`
(radius-y this)
Property.
Returns the Y radius of the ellipse that most closely circumscribes
area of contact with the touch surface. The value is in CSS pixels
the same scale as Touch.screenX
.
var yRadius = touchItem.radiusY;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Touch/radiusY
Property. Returns the Y radius of the ellipse that most closely circumscribes area of contact with the touch surface. The value is in CSS pixels the same scale as `Touch.screenX`. `var yRadius = touchItem.radiusY;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Touch/radiusY`
(rotation-angle this)
Property.
Returns the rotation angle, in degrees, of the contact area ellipse
by Touch.radiusX
and Touch.radiusY
. The value may be between
and 90. Together, these three values describe an ellipse that
the size and shape of the area of contact between the user and
screen. This may be a relatively large ellipse representing the
between a fingertip and the screen or a small area representing
tip of a stylus, for example.
var angle = touchItem.rotationAngle;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Touch/rotationAngle
Property. Returns the rotation angle, in degrees, of the contact area ellipse by `Touch.radiusX` and `Touch.radiusY`. The value may be between and 90. Together, these three values describe an ellipse that the size and shape of the area of contact between the user and screen. This may be a relatively large ellipse representing the between a fingertip and the screen or a small area representing tip of a stylus, for example. `var angle = touchItem.rotationAngle;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Touch/rotationAngle`
(screen-x this)
Property.
Returns the X coordinate of the touch point relative to the screen, including any scroll offset.
var x = touchItem.screenX;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Touch/screenX
Property. Returns the X coordinate of the touch point relative to the screen, including any scroll offset. `var x = touchItem.screenX;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Touch/screenX`
(screen-y this)
Property.
Returns the Y coordinate of the touch point relative to the screen, including any scroll offset.
var y = touchItem.screenY;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Touch/screenY
Property. Returns the Y coordinate of the touch point relative to the screen, including any scroll offset. `var y = touchItem.screenY;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Touch/screenY`
(set-radius-x! this val)
Property.
Returns the X radius of the ellipse that most closely circumscribes
area of contact with the touch surface. The value is in CSS pixels
the same scale as Touch.screenX
.
var xRadius = touchItem.radiusX;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Touch/radiusX
Property. Returns the X radius of the ellipse that most closely circumscribes area of contact with the touch surface. The value is in CSS pixels the same scale as `Touch.screenX`. `var xRadius = touchItem.radiusX;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Touch/radiusX`
(set-radius-y! this val)
Property.
Returns the Y radius of the ellipse that most closely circumscribes
area of contact with the touch surface. The value is in CSS pixels
the same scale as Touch.screenX
.
var yRadius = touchItem.radiusY;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Touch/radiusY
Property. Returns the Y radius of the ellipse that most closely circumscribes area of contact with the touch surface. The value is in CSS pixels the same scale as `Touch.screenX`. `var yRadius = touchItem.radiusY;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Touch/radiusY`
(set-rotation-angle! this val)
Property.
Returns the rotation angle, in degrees, of the contact area ellipse
by Touch.radiusX
and Touch.radiusY
. The value may be between
and 90. Together, these three values describe an ellipse that
the size and shape of the area of contact between the user and
screen. This may be a relatively large ellipse representing the
between a fingertip and the screen or a small area representing
tip of a stylus, for example.
var angle = touchItem.rotationAngle;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Touch/rotationAngle
Property. Returns the rotation angle, in degrees, of the contact area ellipse by `Touch.radiusX` and `Touch.radiusY`. The value may be between and 90. Together, these three values describe an ellipse that the size and shape of the area of contact between the user and screen. This may be a relatively large ellipse representing the between a fingertip and the screen or a small area representing tip of a stylus, for example. `var angle = touchItem.rotationAngle;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Touch/rotationAngle`
(set-screen-x! this val)
Property.
Returns the X coordinate of the touch point relative to the screen, including any scroll offset.
var x = touchItem.screenX;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Touch/screenX
Property. Returns the X coordinate of the touch point relative to the screen, including any scroll offset. `var x = touchItem.screenX;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Touch/screenX`
(set-screen-y! this val)
Property.
Returns the Y coordinate of the touch point relative to the screen, including any scroll offset.
var y = touchItem.screenY;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Touch/screenY
Property. Returns the Y coordinate of the touch point relative to the screen, including any scroll offset. `var y = touchItem.screenY;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Touch/screenY`
(set-target! this val)
Property.
Returns the web.Element
(web.EventTarget
) on which the touch
started when it was first placed on the surface, even if the
point has since moved outside the interactive area of that element
even been removed from the document. Note that if the target
is removed from the document, events will still be targeted at
and hence won't necessarily bubble up to the window or document
If there is any risk of an element being removed while it is
touched, the best practice is to attach the touch listeners directly
the target.
var el = touchPoint.target;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Touch/target
Property. Returns the `web.Element` (`web.EventTarget`) on which the touch started when it was first placed on the surface, even if the point has since moved outside the interactive area of that element even been removed from the document. Note that if the target is removed from the document, events will still be targeted at and hence won't necessarily bubble up to the window or document If there is any risk of an element being removed while it is touched, the best practice is to attach the touch listeners directly the target. `var el = touchPoint.target;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Touch/target`
(target this)
Property.
Returns the web.Element
(web.EventTarget
) on which the touch
started when it was first placed on the surface, even if the
point has since moved outside the interactive area of that element
even been removed from the document. Note that if the target
is removed from the document, events will still be targeted at
and hence won't necessarily bubble up to the window or document
If there is any risk of an element being removed while it is
touched, the best practice is to attach the touch listeners directly
the target.
var el = touchPoint.target;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Touch/target
Property. Returns the `web.Element` (`web.EventTarget`) on which the touch started when it was first placed on the surface, even if the point has since moved outside the interactive area of that element even been removed from the document. Note that if the target is removed from the document, events will still be targeted at and hence won't necessarily bubble up to the window or document If there is any risk of an element being removed while it is touched, the best practice is to attach the touch listeners directly the target. `var el = touchPoint.target;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Touch/target`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close