onDrag property Null safety
A stream of
drag events fired when this element currently being dragged.
drag event is added to this stream as soon as the drag begins.
drag event is also added to this stream at intervals while the drag
operation is still ongoing.
- Drag and drop sample based on the tutorial from HTML5Rocks.
- Drag and drop specification from WHATWG.
ElementStream<MouseEvent> get onDrag => dragEvent.forElement(this);