Bootstrap

API slot

SlotDirective

class

A directive that manages slot content and its properties.

Remarks

This directive handles changes to the slot content and its properties, and manages the lifecycle of the slot handler.

Type Parameters

Props extends Record<string, any>

A record type representing the properties for the slot.

Implements
Properties
props

props: Props

The properties for the slot content.


slot

slot: SlotContent<Props>

The slot content to be managed.