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