NativeScript Docs
Core Modules
NativeScript Angular
NativeScript UI
Article title
view in github
Search
Preparing search index...
The search index is not available
NativeScript
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"ui/gestures"
External module "ui/gestures"
Globals
"ui/gestures"
Touch
Action
Gesture
State
Types
Gesture
Types
Swipe
Direction
Gestures
Observer
Gesture
Event
Data
Gesture
Event
Data
With
State
Pan
Gesture
Event
Data
Pinch
Gesture
Event
Data
Pointer
Rotation
Gesture
Event
Data
Swipe
Gesture
Event
Data
Tap
Gesture
Event
Data
Touch
Gesture
Event
Data
from
String
observe
to
String
Index
Modules
Touch
Action
Enumerations
Gesture
State
Types
Gesture
Types
Swipe
Direction
Classes
Gestures
Observer
Interfaces
Gesture
Event
Data
Gesture
Event
Data
With
State
Pan
Gesture
Event
Data
Pinch
Gesture
Event
Data
Pointer
Rotation
Gesture
Event
Data
Swipe
Gesture
Event
Data
Tap
Gesture
Event
Data
Touch
Gesture
Event
Data
Functions
from
String
observe
to
String
Functions
from
String
from
String
(
type
:
string
)
:
GestureTypes
Parameters
type:
string
Returns
GestureTypes
observe
observe
(
target
:
View
, type
:
GestureTypes
, callback
:
function
, context
?:
any
)
:
GesturesObserver
Parameters
target:
View
type:
GestureTypes
callback:
function
(
args
:
GestureEventData
)
:
void
Parameters
args:
GestureEventData
Returns
void
Optional
context:
any
Returns
GesturesObserver
to
String
to
String
(
type
:
GestureTypes
, separator
?:
string
)
:
string
Parameters
type:
GestureTypes
Optional
separator:
string
Returns
string
Legend
Module
Object literal
Variable
Function
Function with type parameter
Index signature
Type alias
Enumeration
Enumeration member
Property
Method
Interface
Interface with type parameter
Constructor
Property
Method
Index signature
Class
Class with type parameter
Constructor
Property
Method
Accessor
Index signature
Inherited constructor
Inherited property
Inherited method
Inherited accessor
Protected property
Protected method
Protected accessor
Private property
Private method
Private accessor
Static property
Static method
🐛 Debug your mobile network traffic with Fiddler! Try it on
iOS
or
Android