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
<{service
:Service
; }>
unmounted
unmounted:
Slot
<{service
:Service
; }>
viewConnected
viewConnected:
Slot
<{component
:BlockComponent
;service
:Service
; }>
viewDisconnected
viewDisconnected:
Slot
<{component
:BlockComponent
;service
:Service
; }>
widgetConnected
widgetConnected:
Slot
<{component
:WidgetComponent
;service
:Service
; }>
widgetDisconnected
widgetDisconnected:
Slot
<{component
:WidgetComponent
;service
:Service
; }>
Defined in
packages/framework/block-std/src/spec/slots.ts:6