Classes
GesturesObserver
GesturesObserver
Provides options for the GesturesObserver.
Summary β
Constructors
Properties
Methods
Constructors β
constructor β
new GesturesObserver(target: View, callback: (args: GestureEventData) => void, context: any): GesturesObserver
Creates an instance of GesturesObserver class.
Parameter Default Description
callback
(args: GestureEventData) => void
A function that will be executed when a gesture is received.
context
any
default this argument for the callbacks.
Returns GesturesObserver
Properties β
androidOnTouchEvent β
callback β
callback: (args: GestureEventData) => void
context β
A context which will be used as
`this`
in callback execution.type β
type: GestureTypes
Gesture type attached to the observer.
Methods β
disconnect β
Disconnects the gesture observer.
Returns any
observe β
observe(type: GestureTypes): any
Registers a gesture observer to a view and gesture.
Parameter Default Description
Returns any
- Previous
- Frame
- Next
- GridLayout