The default implementation of a data object for the DropInputMode.
Inheritance Hierarchy
DragDropItem
Type Details
- yFiles module
- view
Constructors
Initializes a new instance of the DragDropItem class and sets the provided data item for the specified format.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- format - string
- The format.
- data - any
- The data item.
See Also
Properties
Methods
Gets the data item for the given format.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- format - string
- The format.
Returns
- ↪any?
- The data item that is stored for this format, or
null
if no such item exists.
See Also
Sets the data item for the given format.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- format - string
- The format.
- data - any
- The data item.