TouchEvents Enum

Namespace: SharpKit.jQueryMobile

Base Types

System.Enum

Base Interfaces

System.IConvertible
System.IFormattable
System.IComparable

Fields

Name Description
swipe Triggers when a horizontal drag of 30px or more (and less than 20px vertically) occurs within 1 second duration but these can be configured:
  • scrollSupressionThreshold (default: 10px) – More than this horizontal displacement, and we will suppress scrolling
  • durationThreshold (default: 1000ms) – More time than this, and it isn’t a swipe
  • horizontalDistanceThreshold (default: 30px) – Swipe horizontal displacement must be more than this.
  • verticalDistanceThreshold (default: 75px) – Swipe vertical displacement must be less than this.
swipeleft Triggers when a swipe event occurred moving in the left direction.
swiperight Triggers when a swipe event occurred moving in the right direction.
tap Triggers after a quick, complete touch event.
taphold Triggers after a held complete touch event (close to one second).
© Copyright 2005-2011 SharpKit. All rights reserved.