API Reference 0.3.24dart_web_toolkit_eventTouchEndHandlerAdapter

TouchEndHandlerAdapter class

Handler interface for {@link TouchEndEvent} events.

class TouchEndHandlerAdapter extends EventHandlerAdapter implements TouchEndHandler {

 TouchEndHandlerAdapter(EventHandlerAdapterCallback callback) : super(callback);

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

}

Extends

EventHandlerAdapter > TouchEndHandlerAdapter

Implements

TouchEndHandler

Constructors

new TouchEndHandlerAdapter(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
TouchEndHandlerAdapter(EventHandlerAdapterCallback callback) : super(callback);

Properties

EventHandlerAdapterCallback callback #

inherited from EventHandlerAdapter
EventHandlerAdapterCallback callback

Methods

void onTouchEnd(TouchEndEvent event) #

Called when TouchEndEvent is fired.

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

void onTouchEnd(TouchEndEvent event) {
 callback(event);
}