Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "ui/gestures"

Contains the GesturesObserver class, which lets you observe and respond to user gestures

Index

Functions

fromString

  • Returns a gesture type enum value from a string (case insensitive).

    Parameters

    • type: string

      A string representation of a gesture type (e.g. Tap).

    Returns GestureTypes

observe

  • A short-hand function that is used to create a gesture observer for a view and gesture.

    Parameters

    • target: View

      View which will be watched for originating a specific gesture.

    • type: GestureTypes

      Type of the gesture.

    • callback: function

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

    • Optional context: any

      this argument for the callback.

    Returns GesturesObserver

toString

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