The default implementation of a data object for the DropInputMode.
Inheritance Hierarchy
DragDropItem
Type Details
- yfiles module
- view-component
- yfiles-umd modules
- All view modules
- Legacy UMD name
- yfiles.view.DragDropItem
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 - Object
- The data item.
See Also
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 - Object
- The data item.