DataTransferItemList
Values
add
Adds a new entry for the given data to the drag data store. If the data is plain text then a type string has to be provided also. Read more on MDN
let add: ( UiEventsTypes.dataTransferItemList, ~data: string, ~type_: string,) => UiEventsTypes.dataTransferItemParameters
UiEventsTypes.dataTransferItemList string stringReturn type
UiEventsTypes.dataTransferItemaddFile
Adds a new entry for the given data to the drag data store. If the data is plain text then a type string has to be provided also. Read more on MDN
let addFile: ( UiEventsTypes.dataTransferItemList, FileTypes.file,) => UiEventsTypes.dataTransferItemParameters
UiEventsTypes.dataTransferItemList FileTypes.fileReturn type
UiEventsTypes.dataTransferItemclear
Removes all the entries in the drag data store. Read more on MDN
let clear: UiEventsTypes.dataTransferItemList => unitParameters
UiEventsTypes.dataTransferItemListReturn type
unitremove
Removes the indexth entry in the drag data store. Read more on MDN
let remove: (UiEventsTypes.dataTransferItemList, int) => unit