@microsoft/fast-element > SlottedBehavior > (constructor)
SlottedBehavior.(constructor)
Creates an instance of SlottedBehavior.
Signature:constructor(target: HTMLSlotElement, options: SlottedBehaviorOptions);
Parameters
Parameter | Type | Description |
---|---|---|
target | HTMLSlotElement | The slot element target to observe. |
options | SlottedBehaviorOptions | The options to use when observing the slot. |