Skip to main content

Interface: DropTarget<T>

Defined in: types/index.ts:217

Interface representing a drop target with all its properties.

Type Parameters

T

T

The type of data associated with the drop target

Properties

id

id: number

Defined in: types/index.ts:219

Unique identifier for the drop target


layout

layout: LayoutPosition

Defined in: types/index.ts:221

Layout position and configuration


index

index: number

Defined in: types/index.ts:223

Index position within the parent


canDrop?

optional canDrop: boolean

Defined in: types/index.ts:225

Whether this target can accept drops


children?

optional children: DropTree<T>

Defined in: types/index.ts:227

Optional child drop targets


data?

optional data: T

Defined in: types/index.ts:229

Optional data associated with this drop target