onDrop property

ElementStream<MouseEvent> onDrop
@DocsEditable(), @DomName('Element.ondrop')

A stream of drop events fired when a dragged object is dropped on this element.

Other resources

Drag and drop sample based on the tutorial from HTML5Rocks. Drag and drop specification from WHATWG.

Implementation

@DomName('Element.ondrop')
@DocsEditable()
ElementStream<MouseEvent> get onDrop;