kind property

Returns the kind of data (e.g., string or file) of the drag data item.

This property is read-only.

HTML5 A vocabulary and associated APIs for HTML and XHTML

 

Syntax

JavaScript
dataItemKind = object.kind

 

Property values

Type: DOMString

Standards information

See also

DataTransferItem

 

 

Show: