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: BlockComponent

service

service: Service

viewDisconnected

viewDisconnected: Slot<object>

Type declaration

component

component: BlockComponent

service

service: Service

widgetConnected

widgetConnected: Slot<object>

Type declaration

component

component: WidgetComponent

service

service: Service

widgetDisconnected

widgetDisconnected: Slot<object>

Type declaration

component

component: WidgetComponent

service

service: Service

Defined in

packages/framework/block-std/src/spec/slots.ts:6