Skip to content

API > @blocksuite/block-std > BlockSuiteViewSpec

Interface: BlockSuiteViewSpec<T> ​

Type parameters ​

ParameterDefault
Tany

Properties ​

fromDOM ​

fromDOM: function

Parameters ​

ParameterType
nodeNode

Returns ​

null | NodeView< T >

Defined In ​

block-std/src/view/view-store.ts:9


getChildren ​

getChildren: function

Parameters ​

ParameterType
nodeElement

Returns ​

Element[]

Defined In ​

block-std/src/view/view-store.ts:11


toDOM ​

toDOM: function

Parameters ​

ParameterType
nodeViewNodeView< 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