@microsoft/fast-element > SlottedBehavior

SlottedBehavior class

The runtime behavior for slotted node observation.

Signature:
export declare class SlottedBehavior extends NodeObservationBehavior<SlottedBehaviorOptions>

Constructors

ConstructorModifiersDescription
(constructor)(target, options)Creates an instance of SlottedBehavior.

Methods

MethodModifiersDescription
disconnect()Disconnects observation of the nodes.
getNodes()Retrieves the nodes that should be assigned to the target.
observe()Begins observation of the nodes.