Class that represents the gesture events.

Export

Hierarchy-Diagram

UML class diagram of SwipeEvent
Legend
icon for a class in the UML class diagram class
icon for an abstract class in the UML class diagram abstract class
icon for a private property in the UML class diagram private property
icon for a public method in the UML class diagram public method
icon for a protected method in the UML class diagram protected method
icon for a private method in the UML class diagram private method
italic abstract property/method

Hierarchy

Methods

  • Private

    Method to set on GestureEnd callback, as this one needs an exception to detect the final direction swiped

    Memberof

    OSFramework.Event.GestureEvent.SwipeEvent

    Parameters

    • offsetX: number
    • offsetY: number
    • timeTaken: number

    Returns void

Accessors

Properties

_swipeDownCallback: Generic
_swipeLeftCallback: Generic
_swipeRightCallback: Generic
_swipeUpCallback: Generic
_threshold: number = 10
_velocity: number = 0.3

Constructors