JavaScripture
Contribute via GitHub Feedback

JavaScript DataTransferItem : Object

Instance Properties

kind : String  

The kind of the item. Will be one of 'string' or 'file'.

type : String  

The mime type of the item, such as 'text/plain', 'image/png', etc.

Instance Methods

getAsFile() : File

getAsString(callback : Function) : undefined
callback(data : String) : undefined