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