type property

Returns the type or format of the data for the drag data item.

This property is read-only.

HTML5 A vocabulary and associated APIs for HTML and XHTML

 

Syntax

JavaScript
dataItemType = object.type

 

Property values

Type: DOMString

Standards information

Remarks

See also

DataTransferItem

 

 

Show: