DataTransfer
Values
clearData
Removes the data of the specified formats. Removes all data if the argument is omitted. Read more on MDN
let clearData: ( WebAPI.UiEventsTypes.dataTransfer, ~format: string=?,) => unitgetData
Returns the specified data. If there is no such data, returns the empty string. Read more on MDN
let getData: (WebAPI.UiEventsTypes.dataTransfer, string) => stringmake
let make: unit => WebAPI.UiEventsTypes.dataTransfersetData
Adds the specified data. Read more on MDN
let setData: ( WebAPI.UiEventsTypes.dataTransfer, ~format: string, ~data: string,) => unitsetDragImage
Uses the given element to update the drag feedback, replacing any previously specified feedback. Read more on MDN
let setDragImage: ( WebAPI.UiEventsTypes.dataTransfer, ~image: WebAPI.DOMTree.element, ~x: int, ~y: int,) => unit