Skip to content

BlockSuite API Documentation / @blocksuite/block-std / BlockSpecSlots

Type alias: BlockSpecSlots<Service>

BlockSpecSlots<Service>: Object

Type parameters

Service extends BlockService = BlockService

Type declaration

mounted

mounted: Slot<Object>

Type declaration

service

service: Service

unmounted

unmounted: Slot<Object>

Type declaration

service

service: Service

viewConnected

viewConnected: Slot<Object>

Type declaration

component

component: BlockSuite.NodeView

service

service: Service

viewDisconnected

viewDisconnected: Slot<Object>

Type declaration

component

component: BlockSuite.NodeView

service

service: Service

widgetConnected

widgetConnected: Slot<Object>

Type declaration

component

component: BlockSuite.NodeView

service

service: Service

widgetDisconnected

widgetDisconnected: Slot<Object>

Type declaration

component

component: BlockSuite.NodeView

service

service: Service

Source

block-std/src/spec/slots.ts:5