Skip to main content

@microsoft/fast-element > Controller > addBehaviors

Controller.addBehaviors() method

Adds behaviors to this element.

Signature:
addBehaviors(behaviors: ReadonlyArray<Behavior>): void;

Parameters

ParameterTypeDescription
behaviorsReadonlyArray<Behavior>The behaviors to add.
Returns:

void