Skip to content

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

Type Alias: BlockSpecSlots<Service>

BlockSpecSlots<Service> = object

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

Type Parameters

Service

Service extends BlockService = BlockService

Properties

mounted

mounted: Subject<{ service: Service; }>

Defined in: packages/framework/block-std/src/spec/slots.ts:7


unmounted

unmounted: Subject<{ service: Service; }>

Defined in: packages/framework/block-std/src/spec/slots.ts:8


viewConnected

viewConnected: Subject<{ component: BlockComponent; service: Service; }>

Defined in: packages/framework/block-std/src/spec/slots.ts:9


viewDisconnected

viewDisconnected: Subject<{ component: BlockComponent; service: Service; }>

Defined in: packages/framework/block-std/src/spec/slots.ts:10


widgetConnected

widgetConnected: Subject<{ component: WidgetComponent; service: Service; }>

Defined in: packages/framework/block-std/src/spec/slots.ts:11


widgetDisconnected

widgetDisconnected: Subject<{ component: WidgetComponent; service: Service; }>

Defined in: packages/framework/block-std/src/spec/slots.ts:12