Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft