Skip to content

BlockSuite API Documentation / @blocksuite/blocks / DragHandleOption

Type Alias: DragHandleOption

DragHandleOption: object

Type declaration

edgeless?

optional edgeless: boolean

flavour

flavour: string | RegExp

onDragEnd()?

optional onDragEnd: (props) => boolean

Parameters

props: OnDragEndProps

Returns

boolean

onDragMove()?

optional onDragMove: (props) => boolean

Parameters

props: OnDragMoveProps

Returns

boolean

onDragStart()?

optional onDragStart: (props) => boolean

Parameters

props: OnDragStartProps

Returns

boolean

Defined in

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