DataTransfer class
- Inheritance
- Object
- JSObject
- DartHtmlDomObject
- DataTransfer
- Annotations
- @DocsEditable()
- @DomName('DataTransfer')
- @Experimental()
Static Properties
- instanceRuntimeType → Type @Deprecated("Internal Use Only"), read-only
Constructors
Properties
- dropEffect → String @DocsEditable(), @DomName('DataTransfer.dropEffect'), @Experimental(), read / write
- effectAllowed → String @DocsEditable(), @DomName('DataTransfer.effectAllowed'), @Experimental(), read / write
- files → List<File> @DocsEditable(), @DomName('DataTransfer.files'), @Experimental(), read-only
- items → DataTransferItemList @DocsEditable(), @DomName('DataTransfer.items'), @Experimental(), read-only
- types → List<String> @DocsEditable(), @DomName('DataTransfer.types'), @Experimental(), read-only
- hashCode → int read-only, inherited
- runtimeType → Type 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