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:
BlockElement
service
service:
Service
viewDisconnected
viewDisconnected:
Slot
<object
>
Type declaration
component
component:
BlockElement
service
service:
Service
widgetConnected
widgetConnected:
Slot
<object
>
Type declaration
component
component:
WidgetElement
service
service:
Service
widgetDisconnected
widgetDisconnected:
Slot
<object
>
Type declaration
component
component:
WidgetElement
service
service:
Service
Source
packages/framework/block-std/src/spec/slots.ts:6