API > @blocksuite/blocks > asyncGetVirgoByModel
Function: asyncGetVirgoByModel ​
asyncGetVirgoByModel(
model):Promise<null|AffineVEditor>
Parameters ​
| Parameter | Type | 
|---|---|
model | BaseBlockModel< object > | 
Returns ​
Promise< null | AffineVEditor >
Defined In ​
packages/blocks/src/_common/utils/query.ts:315