API Reference 0.7.1rikulo_gestureGestureState

GestureState abstract class

The common interface of state of Gesture.

abstract class GestureState {
 
 /** The latest timestamp of gesture. */
 int get time;
 
 /** The element which receives the event. */
 EventTarget get eventTarget;
 
 /** Custom data. It is useful if you'd like to store something that
  * will be cleaned up automatically when the gesture is finished.
  */
 var data;
}

Subclasses

DragGestureState, DraggerState, HoldGestureState, ScrollerState, SwipeGestureState, ZoomGestureState

Properties

var data #

Custom data. It is useful if you'd like to store something that will be cleaned up automatically when the gesture is finished.

var data

final EventTarget eventTarget #

The element which receives the event.

EventTarget get eventTarget;

final int time #

The latest timestamp of gesture.

int get time;