API > @blocksuite/block-std > BlockSuiteViewSpec
Interface: BlockSuiteViewSpec<T>
​
Type parameters ​
Parameter | Default |
---|---|
T | any |
Properties ​
fromDOM ​
fromDOM:
function
Parameters ​
Parameter | Type |
---|---|
node | Node |
Returns ​
null
| NodeView
< T
>
Defined In ​
block-std/src/view/view-store.ts:9
getChildren ​
getChildren:
function
Parameters ​
Parameter | Type |
---|---|
node | Element |
Returns ​
Element
[]
Defined In ​
block-std/src/view/view-store.ts:11
toDOM ​
toDOM:
function
Parameters ​
Parameter | Type |
---|---|
nodeView | NodeView < T > |
Returns ​
Element
Defined In ​
block-std/src/view/view-store.ts:10
type ​
type:
never
Defined In ​
block-std/src/view/view-store.ts:8