API Reference 0.3.24dart_web_toolkit_eventDragStartHandlerAdapter

DragStartHandlerAdapter class

Handler interface for {@link DragStartEvent} events.

class DragStartHandlerAdapter extends EventHandlerAdapter implements DragStartHandler {

 DragStartHandlerAdapter(EventHandlerAdapterCallback callback) : super(callback);

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

Extends

EventHandlerAdapter > DragStartHandlerAdapter

Implements

DragStartHandler

Constructors

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

Properties

EventHandlerAdapterCallback callback #

inherited from EventHandlerAdapter
EventHandlerAdapterCallback callback

Methods

void onDragStart(DragStartEvent event) #

Called when a {@link DragStartEvent} is fired.

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

void onDragStart(DragStartEvent event) {
 callback(event);
}