Touch Events
Touch events compatibility and emulation.
Wisej supports all touch events on mobile and touch devices, and it simulates most of the touch events on desktop non-touch devices.
The biggest advantage of being able to use the same events on any device, regardless of their touch-hardware, is to reduce the complexity of the code and handle only one set of events.

Supported events

Wisej supports the following touch events:
  • Tap. Fired when a pointer taps on the screen.
  • LongTap. Fired when a pointer holds on the screen.
  • Pinch. Fired when two fingers moved away or toward each other.
  • Swipe. Fired when a pointed swiped over the screen.
  • Track. Fired when a pointer grabs a control and moves over it.
  • TouchStart. Fired when a touch point is placed on the screen.
  • TouchMove. Fired when a touch point is moved over the screen.
  • TouchEnd. Fired when a touch point is removed from the screen.
  • TouchCancel. Fired when a touch point is canceled by the implementation. For example, if a new item is created on top of the surface that fired TouchStart.
Event handling for these events is activated only if there is an event handler attached. See Lazy Events.

Simulated Events

  • Tap. Similar to Click.
  • LongTap. Fired when the mouse is pressed and held down.
  • Swipe. Fired when the mouse is pressed and moved quickly.
  • Track. Fired when the mouse is pressed and moved.
  • TouchStart. Fired when the mouse is pressed.
  • TouchMove. Fired when the mouse moves over the control. Similar to MouseMove.
  • TouchEnd. Fires when the mouse is released.
See what data you get on a desktop for a simulated Swipe event.
Last modified 5mo ago
Export as PDF
Copy link
On this page
Supported events
Simulated Events