Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
6 results across 6 corpora for DataTransferItem.
Developer library 6
Firefox 50 release notes for developers
aTransfer.items property has been implemented, allowing access to multiple items being dragged and dropped using the HTML Drag and Drop API. To allow this, the DataTransferItem and DataTransferItemList interfaces are now supported as well ([Firefox bug 906420](https://bugzil.la/906420)). This is enabled by default. - The old, obsolete Firefox specific drag and drop API events `dragdrop` and `draggesture` are no longe
DataTransfer: items property
HTML Drag and Drop API The **`items`** read-only property of the DataTransfer interface is a DataTransferItemList of the DataTransferItem objects in a drag operation. The list includes one item for each item in the operation, and if the operation had no items, the list is empty. During a drag operation, this property can be used to enumerate the items and inspect their kinds and types in any drag event handler. How
DataTransferItem
HTML Drag and Drop API The **`DataTransferItem`** object represents one drag data item. During a _drag operation_, each DragEvent has a dataTransfer property which contains a list of drag data items. Each item in the list is a `DataTransferItem` object. `DataTransferItem` was primarily designed for the [HTML Drag and Drop API](/docs/Web/API/HTML_Drag_and_Drop_API), and is still specified in the HTML drag-and-drop s
DataTransferItem: webkitGetAsEntry() method
HTML Drag and Drop API The **`webkitGetAsEntry()`** method of the DataTransferItem interface returns a FileSystemFileEntry or FileSystemDirectoryEntry representing the item if it is a file. If the item isn't a file, `null` is returned. During a drag operation, this method can only read data in the handlers for the dragstart and drop events, because those are the only times the drag data store is readable. Calling i
DataTransferItem: getAsString() method
HTML Drag and Drop API The **`getAsString()`** method of the DataTransferItem interface invokes the given callback with the drag data item's string data as the argument if the item's kind is a _Plain unicode string_ (i.e., `kind` is `string`). During a drag operation, this method can only read data in the handlers for the dragstart and drop events, because those are the only times the drag data store is readable. C
DataTransferItem: kind property
HTML Drag and Drop API The **`kind`** read-only property of the DataTransferItem interface returns the kind–a string or a file–of the object representing the _drag data item_. During a drag operation, this property can be read in any drag event handler, even when the drag data store is in [protected mode](/docs/Web/API/HTML_Drag_and_Drop_API/Drag_data_store#protected_mode). The item's kind remains accessible, but i