API Reference 0.3.24dart_web_toolkit_eventHasDragLeaveHandlers

HasDragLeaveHandlers abstract class

A widget that implements this interface provides registration for {@link DragLeaveHandler} instances.

Experimental API: This API is still under development and is subject to change.

abstract class HasDragLeaveHandlers extends HasHandlers {
 /**
  * Adds a {@link DragLeaveEvent} handler.
  *
  * @param handler the drag leave handler
  * @return {@link HandlerRegistration} used to remove this handler
  */
 HandlerRegistration addDragLeaveHandler(DragLeaveHandler handler);
}

Extends

HasHandlers > HasDragLeaveHandlers

Subclasses

HasAllDragAndDropHandlers

Methods

abstract HandlerRegistration addDragLeaveHandler(DragLeaveHandler handler) #

Adds a {@link DragLeaveEvent} handler.

@param handler the drag leave handler @return {@link HandlerRegistration} used to remove this handler

abstract void fireEvent(DwtEvent event) #

inherited from HasHandlers

Fires the given event to the handlers listening to the event's type.

Any exceptions thrown by handlers will be bundled into a UmbrellaException and then re-thrown after all handlers have completed. An exception thrown by a handler will not prevent other handlers from executing.

@param event the event