BlockSuite API Documentation / @blocksuite/store / YBlock
Type alias: YBlock
YBlock:
Map
<unknown
> &object
Type declaration
get()
get(prop)
Parameters
• prop: "sys:id"
Returns
string
get(prop)
Parameters
• prop: "sys:flavour"
Returns
string
get(prop)
Parameters
• prop: "sys:children"
Returns
Array
<string
>
get(prop)
Type parameters
• T = unknown
Parameters
• prop: string
Returns
T
Source
packages/framework/store/src/store/doc/block.ts:10