BlockSuite API Documentation / @blocksuite/blocks / onModelElementUpdated
Function: onModelElementUpdated()
onModelElementUpdated(
editorHost
,model
,callback
):Promise
<void
>
Parameters
• editorHost: EditorHost
• model: BlockModel
<object
>
• callback
Returns
Promise
<void
>
Source
packages/blocks/src/root-block/utils/callback.ts:33