API Reference 0.3.24dart_web_toolkit_eventTouchCancelHandlerAdapter

TouchCancelHandlerAdapter class

Handler interface for {@link TouchCancelEvent} events.

class TouchCancelHandlerAdapter extends EventHandlerAdapter implements TouchCancelHandler {

 TouchCancelHandlerAdapter(EventHandlerAdapterCallback callback) : super(callback);

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

}

Extends

EventHandlerAdapter > TouchCancelHandlerAdapter

Implements

TouchCancelHandler

Constructors

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

Properties

EventHandlerAdapterCallback callback #

inherited from EventHandlerAdapter
EventHandlerAdapterCallback callback

Methods

void onTouchCancel(TouchCancelEvent event) #

Called when TouchCancelEvent is fired.

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

void onTouchCancel(TouchCancelEvent event) {
 callback(event);
}