# DragAndDropOptions
The DragAndDropOptions
serve as a setting option for the drag and drop functionality. Each component can accept a DragAndDropOptions
actor and is then able to be dragged and receive drops (depending on the selected parameters).
# Properties
Parent:
Actor
Type:
DragAndDropOptions
# Parameter
# Parameters in the Layout
Name | Type | Description |
---|---|---|
drag | Map<String, Drag Options> | Determines whether dragging is allowed and how dragging and dropping is visualised |
drop | Array of DropOptions | Defines the conditions under which a drop is permitted |
# Drag Specifications
Name | Type | Description |
---|---|---|
enabled | boolean | Specifies whether the assigned component should be draggable |
showObjectImage | boolean | Specifies whether the DragImage should display the object icons of the dragged data |
showLabel | boolean | Specifies whether the DragImage should display the friendlynames of the dragged data |
Take a look at an example of use here