BlockSuite API Documentation / @blocksuite/store / YBlock
Type Alias: YBlock
YBlock:
Y.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
YArray
<string
>
get(prop)
Type Parameters
• T = unknown
Parameters
• prop: string
Returns
T
Defined in
packages/framework/store/src/store/doc/block/types.ts:5