DataTransfer class

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

Static Properties

instanceRuntimeTypeType
@Deprecated("Internal Use Only"), read-only

Constructors

DataTransfer.internal_()

Properties

dropEffectString
@DocsEditable(), @DomName('DataTransfer.dropEffect'), @Experimental(), read / write
effectAllowedString
@DocsEditable(), @DomName('DataTransfer.effectAllowed'), @Experimental(), read / write
filesList<File>
@DocsEditable(), @DomName('DataTransfer.files'), @Experimental(), read-only
itemsDataTransferItemList
@DocsEditable(), @DomName('DataTransfer.items'), @Experimental(), read-only
typesList<String>
@DocsEditable(), @DomName('DataTransfer.types'), @Experimental(), read-only
hashCodeint
read-only, inherited
runtimeTypeType
read-only, inherited

A representation of the runtime type of the object.

Operators

operator ==(other) → bool
inherited

The equality operator.

Methods

clearData([String format ]) → void
getData(String format) → String
@DocsEditable(), @DomName('DataTransfer.getData'), @Experimental()
setData(String format, String data) → void
@DocsEditable(), @DomName('DataTransfer.setData'), @Experimental()
setDragImage(Element image, int x, int y) → void
@DocsEditable(), @DomName('DataTransfer.setDragImage'), @Experimental()
noSuchMethod(Invocation invocation) → dynamic
inherited

Invoked when a non-existent method or property is accessed.

toString() → String
inherited

Returns the result of the JavaScript objects toString method.

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/DataTransfer-class.html