DraggableEvent class

Event used when a drag is detected.

Properties

avatarHandler AvatarHandler?
The AvatarHandler or null if there is none.
final
cancelled bool
Indicates if this DraggableEvent was cancelled. This is currently only used for onDragEnd events to indicate a drag end through a cancelling oparation like esc key or windows loosing focus.
final
draggableElement Element
The Element that is beeing dragged.
final
hashCode int
The hash code for this object.
no setterinherited
originalEvent Event?
The original event which is either ...
final
position Point<num>
The current mouse/touch position, relative to the whole document (page position).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startPosition Point<num>
Position where the drag started, relative to the whole document (page position).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited