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.
![]() |
Syntax
| JavaScript |
|---|
sList = object.types |
Property values
Type: DOMStringList
List of strings identifying the types of items being dragged.
See also
Show:
