Skip to main content

Function: startDragElements()

startDragElements(e, iris): boolean

Defined in: widgets/utility/listElementView.tsx:117

Configure DragEvent data to contain a list of entity IRIs.

The data uses application/x-reactodia-elements format with a text format fallback.

A list of entity IRIs is represented as serialized JSON array of IRI strings.

When the configured drag data is dropped on the diagram canvas, corresponding entities will be added to it.

Parameters

ParameterType

e

DragEvent<unknown>

iris

readonly string[]

Returns

boolean