API Reference 0.3.24dart_web_toolkit_eventTouchMoveHandlerAdapter

TouchMoveHandlerAdapter class

Handler interface for {@link TouchMoveEvent} events.

class TouchMoveHandlerAdapter extends EventHandlerAdapter implements TouchMoveHandler {

 TouchMoveHandlerAdapter(EventHandlerAdapterCallback callback) : super(callback);

 /**
  * Called when TouchMoveEvent is fired.
  *
  * @param event the {@link TouchMoveEvent} that was fired
  */
 void onTouchMove(TouchMoveEvent event) {
   callback(event);
 }

}

Extends

EventHandlerAdapter > TouchMoveHandlerAdapter

Implements

TouchMoveHandler

Constructors

new TouchMoveHandlerAdapter(EventHandlerAdapterCallback callback) #

Creates a new Object instance.

Object instances have no meaningful state, and are only useful through their identity. An Object instance is equal to itself only.

docs inherited from Object
TouchMoveHandlerAdapter(EventHandlerAdapterCallback callback) : super(callback);

Properties

EventHandlerAdapterCallback callback #

inherited from EventHandlerAdapter
EventHandlerAdapterCallback callback

Methods

void onTouchMove(TouchMoveEvent event) #

Called when TouchMoveEvent is fired.

@param event the {@link TouchMoveEvent} that was fired

void onTouchMove(TouchMoveEvent event) {
 callback(event);
}