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"
GesturesObserver
Class GesturesObserver
Globals
"ui/gestures"
Touch
Action
Gesture
State
Types
Gesture
Types
Swipe
Direction
Gestures
Observer
constructor
android
OnTouch
Event
callback
context
type
disconnect
observe
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
Hierarchy
GesturesObserver
Index
Constructors
constructor
Properties
android
OnTouch
Event
callback
context
type
Methods
disconnect
observe
Constructors
constructor
new
Gestures
Observer
(
target
:
View
, callback
:
function
, context
:
any
)
:
GesturesObserver
Parameters
target:
View
callback:
function
(
args
:
GestureEventData
)
:
void
Parameters
args:
GestureEventData
Returns
void
context:
any
Returns
GesturesObserver
Properties
android
OnTouch
Event
android
OnTouch
Event
:
function
Type declaration
(
motionEvent
:
any
)
:
void
Parameters
motionEvent:
any
Returns
void
callback
callback
:
function
Type declaration
(
args
:
GestureEventData
)
:
void
Parameters
args:
GestureEventData
Returns
void
context
context
:
any
type
type
:
GestureTypes
Methods
disconnect
disconnect
(
)
:
any
Returns
any
observe
observe
(
type
:
GestureTypes
)
:
any
Parameters
type:
GestureTypes
Returns
any
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