Skip to content

BlockSuite API Documentation / @blocksuite/block-std / DndEventState

Class: DndEventState

Extends

Constructors

new DndEventState()

new DndEventState(__namedParameters): DndEventState

Parameters

__namedParameters: DndEventStateOptions

Returns

DndEventState

Overrides

UIEventState.constructor

Defined in

packages/framework/block-std/src/event/state/dnd.ts:12

Properties

event

event: Event

Inherited from

UIEventState.event

Defined in

packages/framework/block-std/src/event/base.ts:11


raw

raw: DragEvent

Defined in

packages/framework/block-std/src/event/state/dnd.ts:8


type

type: string = 'dndState'

when extends, override it with pattern xxxState

Overrides

UIEventState.type

Defined in

packages/framework/block-std/src/event/state/dnd.ts:10