types property

Returns a string list of formats that were sent in the ondragstart event. If files are being dragged, one of the types will be the string "Files".

This property is read-only.

Internet Explorer 10

 

Syntax

JavaScript
sList = object.types

 

Property values

Type: DOMStringList

List of strings identifying the types of items being dragged.

See also

dataTransfer

 

 

Show:
© 2014 Microsoft