API Reference 0.3.24dart_web_toolkit_eventDragEndHandlerAdapter

DragEndHandlerAdapter class

Handler interface for {@link DragEndEvent} events.

class DragEndHandlerAdapter extends EventHandlerAdapter implements DragEndHandler {

 DragEndHandlerAdapter(EventHandlerAdapterCallback callback) : super(callback);

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

Extends

EventHandlerAdapter > DragEndHandlerAdapter

Implements

DragEndHandler

Constructors

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

Properties

EventHandlerAdapterCallback callback #

inherited from EventHandlerAdapter
EventHandlerAdapterCallback callback

Methods

void onDragEnd(DragEndEvent event) #

Called when a {@link DragEndEvent} is fired.

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

void onDragEnd(DragEndEvent event) {
 callback(event);
}