W3cubDocs

/Dart 2

onDrop property

ElementStream<MouseEvent> 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

ElementStream<MouseEvent> get onDrop => dropEvent.forElement(this);

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/2.0.0/dart-svg/SvgElement/onDrop.html