dragEvent constant - Element class - dart:html library (original) (raw)
EventStreamProvider<MouseEvent> const dragEvent
A stream of drag
events fired when an element is currently being dragged.
A drag
event is added to this stream as soon as the drag begins. A drag
event is also added to this stream at intervals while the drag operation is still ongoing.
Other resources
- Drag and drop samplebased on the tutorialfrom HTML5Rocks.
- Drag and drop specificationfrom WHATWG.
Implementation
static const EventStreamProvider<MouseEvent> dragEvent =
const EventStreamProvider<MouseEvent>('drag');