Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GesturesObserver

Provides options for the GesturesObserver.

Hierarchy

  • GesturesObserver

Index

Constructors

constructor

  • Creates an instance of GesturesObserver class.

    Parameters

    • target: View

      The view for which the observer is created.

    • callback: function

      A function that will be executed when a gesture is received.

    • context: any

      default this argument for the callbacks.

    Returns GesturesObserver

Properties

androidOnTouchEvent

androidOnTouchEvent: function

An internal Android specific method used to pass the motion event to the correct gesture observer.

Type declaration

    • (motionEvent: any): void
    • Parameters

      • motionEvent: any

      Returns void

callback

callback: function

A function that will be executed when a gesture is received.

Type declaration

context

context: any

A context which will be used as this in callback execution.

type

type: GestureTypes

Gesture type attached to the observer.

Methods

disconnect

  • disconnect(): any

observe

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