Interface DragEvent

All Superinterfaces:
Event, MouseEvent, UIEvent
All Known Implementing Classes:
DragEventImpl

public interface DragEvent extends MouseEvent
A DragEvent represents a drag and drop interaction. The user initiates a drag by placing a pointer device (such as a mouse) on the touch surface and then dragging the pointer to a new location (such as another DOM element). Applications are free to interpret a drag and drop interaction in an application-specific way.
  • Method Details

    • getDataTransfer

      DataTransfer getDataTransfer()
      Returns the data that is transferred during a drag and drop interaction.