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
"@nativescript/core"
GesturesObserver
Class GesturesObserver
Globals
"@nativescript/core"
Font
Style
Font
Weight
Grid
Unit
Type
Length
Percent
Length
Screen
ad
categories
encoding
ios
known
Folders
layout
message
Type
path
Gestures
Observer
constructor
android
OnTouch
Event
callback
context
type
disconnect
observe
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