BlockDropEventArgs

23 Sep 20251 minute to read

Properties

blocks BlockModel[]

Specifies the block models that was dropped.

dropIndex number

Specifies the index of the block where the drop occurred.

event Event

Specifies the native event (e.g., mouse or drag event) that triggered the block drop action.

fromIndex number[]

Specifies the index of the blocks from where it was dragged before the drop.

target HTMLElement

Specifies the target HTML element where the block was dropped.