DataTransferItem class

The object represents one drag data item. During a drag operation, each drag event has a dataTransfer property which contains a list of drag data items. Each item in the list is a object. This interface has no constructor.

Available extensions
Annotations
  • @JS.new()
  • @staticInterop

Constructors

DataTransferItem()
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
kind → String

Available on DataTransferItem, provided by the PropsDataTransferItem extension

no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → String

Available on DataTransferItem, provided by the PropsDataTransferItem extension

no setter

Methods

getAsFile() → File?

Available on DataTransferItem, provided by the PropsDataTransferItem extension

getAsFileSystemHandle() → Future<FileSystemHandle>

Available on DataTransferItem, provided by the PropsDataTransferItem extension

getAsString(FunctionStringCallback? callback) → void

Available on DataTransferItem, provided by the PropsDataTransferItem extension

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

Available on DataTransferItem, provided by the PropsDataTransferItem extension

Operators

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