MimeData | @lumino (original) (raw)
Index
Constructors
constructor
Properties
Private
_types
_types: string[] = []
Private
_values
_values: any[] = []
Methods
clear
- clear(): void
Returns void
clearData
- clearData(mime): void
Returns void
getData
- getData(mime): any
Returns any
The value for the given MIME type, or undefined
if the dataset does not contain a value for the type.
hasData
- hasData(mime): boolean
Returns boolean
true
if the dataset contains a value for the given MIME type, false
otherwise.
setData
- setData(mime, data): void
Parameters
- mime: string
- data: unknown
Returns void
types
- types(): string[]
Returns string[]
A new array of the MIME types, in order of insertion.