BlockSuite API Documentation / @blocksuite/store / BlockOptions
Type alias: BlockOptions
BlockOptions:
Partial
<object
>
Type declaration
onChange()
onChange: (
block
,key
,value
) =>void
Parameters
• block: Block
• key: string
• value: unknown
Returns
void
Source
packages/framework/store/src/store/doc/block.ts:17