API > @blocksuite/blocks > transformModel
Function: transformModel ​
transformModel(
model
,flavour
,props
?):string
Parameters ​
Parameter | Type |
---|---|
model | BaseBlockModel < object > |
flavour | keyof BlockSchemas |
props ? | Partial < BlockSysProps & {} & Omit < BlockProps , "flavour" > > |
Returns ​
string
Defined In ​
packages/blocks/src/page-block/utils/operations/model.ts:42