Inheritance
Annotations
  • DocsEditable()
  • DomName('DataTransfer')
  • Experimental()

Static Methods

internalCreateDataTransfer() DataTransfer

Constructors

DataTransfer.internal_()

Properties

The underlying JS DOM object.

read / write, inherited
dropEffect String

read / write
effectAllowed String

read / write
files List<File>

read-only
hashCode int

read-only
items DataTransferItemList

read-only
runtimeType Type

A representation of the runtime type of the object.

read-only, inherited
types List<String>

read-only

Operators

operator ==(other) bool

The equality operator.

Methods

clearData([String type]) → void

getData(String type) String

noSuchMethod(Invocation invocation) → dynamic

noSuchMethod is invoked when users invoke a non-existent method on an object. The name of the method and the arguments of the invocation are passed to noSuchMethod in an Invocation. If noSuchMethod returns a value, that value becomes the result of the original invocation.

inherited
setData(String type, String data) → void

setDragImage(Element image, int x, int y) → void

toString() String

Returns a string representation of this object.

inherited