BlockSuite API Documentation / @blocksuite/block-std / BlockSuiteViewSpec
Interface: BlockSuiteViewSpec<T> 
Contents 
Type parameters 
• T = any
Properties 
fromDOM 
fromDOM: (
node) =>null|NodeView<T>
Parameters 
• node: Node
Returns 
null | NodeView<T>
Source 
block-std/src/view/view-store.ts:9
getChildren 
getChildren: (
node) =>Element[]
Parameters 
• node: Element
Returns 
Element[]
Source 
block-std/src/view/view-store.ts:11
toDOM 
toDOM: (
nodeView) =>Element
Parameters 
• nodeView: NodeView<T>
Returns 
Element
Source 
block-std/src/view/view-store.ts:10
type 
type:
never
Source 
block-std/src/view/view-store.ts:8
Generated using typedoc-plugin-markdown and TypeDoc