Module

Web.HTML.Event.DataTransfer.DataTransferItem

#DataTransferItem

#DataTransferItemList

#dataTransferItem

dataTransferItem :: Int -> DataTransferItemList -> Maybe DataTransferItem

Access an item in the DataTransferItemList by index.

#kind

kind :: DataTransferItem -> Maybe DataTransferItemKind

Returns the drag data item kind of the DataTransferItem. In the case where the DataTransferItem object is in disabled mode, Nothing is returned.

#type_

type_ :: DataTransferItem -> String

A Unicode string giving the type or format of the data, generally given by a MIME type. Some values that are not MIME types are special-cased for legacy reasons. The API does not enforce the use of MIME types; other values can be used as well. In all cases, however, the values are all converted to ASCII lowercase by the API. There is a limit of one text item per item type string.

Modules