C

DragDropItem

The default implementation of a data object for the DropInputMode.
Inheritance Hierarchy

Members

No filters for this type

Constructors

Initializes a new instance of the DragDropItem class and sets the provided data item for the specified format.

Parameters

format?: string
The format.
data?: any
The data item.

See Also

API
setData

Properties

Gets the types of the data items stored in this instance.
readonlyfinal

Property Value

The types of the data items stored in this instance.

Methods

Gets the data item for the given format.
final

Parameters

format: string
The format.

Return Value

any
The data item that is stored for this format, or null if no such item exists.

See Also

API
setData
Sets the data item for the given format.
final

Parameters

format: string
The format.
data: any
The data item.

See Also

API
getData