Orion Drag'n Drop
The drag'n drop feature is a combination of two components.
<o-droppable> is used to create the drop zone.
It must be combined with the <o-draggable> component, which will be an item of this component and can be dropped in different <o-droppable> areas.
Take a look at the example's source code below to get a better idea of the mecanism.
DragNDropPlayground DroppableValidation
OrionDroppable
VModels
Name
datalist
Undef<DataListItem[]> = undefinedProps
Name
tag
string = 'div'validation
Orion.DndValidation = undefinedEvents
Name
Payload type
dropIn
anydragOver
dragLeave
reorder
anydropOut
anySlots
Name
Bindings
default
No bindingsPublicInstance
Name
Type
uid
number_el
() => HTMLElement | undefinedProvide
Name
Type
_droppable
publicInstanceOrionDraggable
VModels
Name
disabled
boolean = falseProps
Name
data
Orion.DndData['data'] = undefinedtag
string = 'div'Slots
Name
Bindings
default
No bindings