Titanium.UI.WebView.swipe

Event of Titanium.UI.WebView. Inherited from Titanium.UI.View.
Platform Since
iPhone 0.8
iPad 0.8
Mobile Web 1.8

Summary

Fired when the device detects a swipe gesture (left or right) against the view.

Properties

Properties of the object passed to the event callback:
Name Type Summary
direction String

Direction of the swipe--either 'left' or 'right'.

globalPoint

Deprecated Dictionary with properties x and y describing the location of the event's endpoint in screen coordinates.

source Object

Source object that fired the event.

type String

Name of the event fired.

x Number

X coordinate of the event's endpoint, in the source view's coordinates.

y Number

Y coordinate of the event's endpoint, in the source view's coordinates.