Skip to content

BlockSuite API Documentation / @blocksuite/blocks / defineEmbedModel

Function: defineEmbedModel()

defineEmbedModel<Props, T>(SuperClass): typeof EdgelessBlock

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.