BlockSuite API Documentation / @blocksuite/blocks / defineEmbedModel
Function: defineEmbedModel()
defineEmbedModel<
Props
,T
>(SuperClass
): typeofEdgelessBlock
Type parameters
• Props extends object
• T extends Constructor
<BlockModel
<Props
>> = Constructor
<BlockModel
<Props
>>
Parameters
• SuperClass: T
Returns
typeof EdgelessBlock
Source
packages/blocks/src/_common/embed-block-helper/embed-block-model.ts:10
Generated using TypeDoc and typedoc-plugin-markdown.