API > @blocksuite/blocks > getModelByElement
Function: getModelByElement ​
getModelByElement(
element
):BaseBlockModel
Parameters ​
Parameter | Type |
---|---|
element | Element |
Returns ​
Defined In ​
packages/blocks/src/_common/utils/query.ts:325
API > @blocksuite/blocks > getModelByElement
getModelByElement(
element
):BaseBlockModel
Parameter | Type |
---|---|
element | Element |
packages/blocks/src/_common/utils/query.ts:325