Dropzone class
The Dropzone detects when a Draggable is dragged over it or dropped on it. An acceptor can be provided to specify which Draggables will be accepted.
The following event streams are provided:
A Dropzone can be created for one Element or an ElementList.
Constructors
Properties
- acceptor ↔ Acceptor?
-
The Acceptor used to determine which Draggables will be accepted by
this Dropzone. If none is specified, all Draggables will be accepted.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- invalidClass ↔ String
-
CSS class set to the Dropzone element when a not-accepted Draggable is
dragged over it. See Dropzone constructor.
getter/setter pair
-
onDragEnter
→ Stream<
DropzoneEvent> -
Fired when a Draggable enters this Dropzone.
no setter
-
onDragLeave
→ Stream<
DropzoneEvent> -
Fired when a Draggable leaves this Dropzone.
no setter
-
onDragOver
→ Stream<
DropzoneEvent> -
Fired periodically while a Draggable is moved over a Dropzone.
no setter
-
onDrop
→ Stream<
DropzoneEvent> -
Fired at the end of the drag operation when the Draggable is dropped
inside this Dropzone.
no setter
- overClass ↔ String
-
CSS class set to the Dropzone element when an accepted Draggable is
dragged over it. See Dropzone constructor.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
destroy(
) → void - Unistalls all listeners.
-
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