Skip to content

BlockSuite API Documentation / @blocksuite/blocks / OnDragStartProps

Type Alias: OnDragStartProps

OnDragStartProps: object

Type declaration

anchorBlockId

anchorBlockId: string | null

editorHost

editorHost: EditorHost

startDragging()

startDragging: (blocks, state, dragPreview?, dragPreviewOffset?) => void

Parameters

blocks

BlockComponent[]

state

DndEventState

dragPreview?

HTMLElement

dragPreviewOffset?

Point

Returns

void

state

state: DndEventState

Defined in

packages/affine/shared/dist/services/drag-handle-config.d.ts:6