The GestureEventArgs type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() |
get_handled |
Returns true if event marked as handled. Note, value of the event.target field and event.get_sender() method can be different (touch event.target element can be child of the sender element that used to listen event)
(Inherited from TouchEvent.) |
![]() |
get_sender |
Gets sender element that was used to listen raised event.
(Inherited from TouchEvent.) |
![]() |
initGestureEvent |
Initializes a newly created GestureEvent object.
|
![]() |
initTouchEvent |
Initializes a newly created TouchEvent object.
(Inherited from TouchEvent.) |
![]() |
preventDefault |
The preventDefault method stops the browser's default action for this event.
(Inherited from TouchEvent.) |
![]() |
set_handled |
Value of true prevents further propagation of the current event.
Note, this method available only if you listen for events using TouchEventDispatcher methods.
(Inherited from TouchEvent.) |
![]() |
stopPropagation |
Stops the bubbling of an event to parent elements.
(Inherited from TouchEvent.) |
Properties
Name | Description | |
---|---|---|
![]() |
altKey |
If true, the alt key is pressed; otherwise, it is not. If there is no keyboard, this value is false.
(Inherited from TouchEvent.) |
![]() |
changedTouches |
A collection of Touch objects representing all touches that changed in this event.
(Inherited from TouchEvent.) |
![]() |
ctrlKey |
If true, the control key is pressed; otherwise, it is not. If there is no keyboard, this value is false.
|
![]() |
metaKey |
If true, the meta key is pressed; otherwise, it is not. If there is no keyboard, this value is false.
|
![]() |
rotation |
The delta rotation since the start of an event, in degrees, where clockwise is positive and counter-clockwise is negative. The initial value is 0.0.
|
![]() |
scale |
The distance between two fingers since the start of an event, as a multiplier of the initial distance. The initial value is 1.0. If less than 1.0, the gesture is pinch close (to zoom out). If greater than 1.0, the gesture is pinch open (to zoom in).
|
![]() |
shiftKey |
If true, the Shift key is pressed; otherwise, it is not. If there is no keyboard, this value is false.
|
![]() |
target |
The target of this touch.
(Inherited from TouchEvent.) |
![]() |
timeStamp |
The event timestamp indicates the time the event was detected.
(Inherited from TouchEvent.) |