The TouchEvent type exposes the following members.

Methods

  Name Description
Public method 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)
Public method get_sender
Gets sender element that was used to listen raised event.
Public method initTouchEvent
Initializes a newly created TouchEvent object.
Public method preventDefault
The preventDefault method stops the browser's default action for this event.
Public method 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.
Public method stopPropagation
Stops the bubbling of an event to parent elements.

Properties

  Name Description
Public property altKey
If true, the alt key is pressed; otherwise, it is not. If there is no keyboard, this value is false.
Public property changedTouches
A collection of Touch objects representing all touches that changed in this event.
Public property target
The target of this touch.
Public property timeStamp
The event timestamp indicates the time the event was detected.

See Also