W3cubDocs

/Dart 2

onDragStart property

ElementStream<MouseEvent> onDragStart

A stream of dragstart events fired when this element starts being dragged.

Other resources

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

Implementation

ElementStream<MouseEvent> get onDragStart => dragStartEvent.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-html/Element/onDragStart.html