BlockSuite API Documentation / @blocksuite/block-std / MonitorOption
Type Alias: MonitorOption<PayloadEntity, PayloadFrom, DropPayload>
MonitorOption<
PayloadEntity
,PayloadFrom
,DropPayload
> =object
&ElementDragEventMap
<DragPayload
<PayloadEntity
,PayloadFrom
>,DropPayload
>
Defined in: packages/framework/block-std/src/extension/dnd/index.ts:177
Type declaration
canMonitor()?
optional
canMonitor: (args
) =>boolean
OriginalMonitorOption.canMonitor
Parameters
args
ElementMonitorFeedbackArgs
<DragPayload
<PayloadEntity
, PayloadFrom
>>
Returns
boolean
Type Parameters
PayloadEntity
PayloadEntity
extends DragEntity
PayloadFrom
PayloadFrom
extends DragFrom
DropPayload
DropPayload
extends object