Skip to main content

@microsoft/fast-element > Controller > removeBehaviors

Controller.removeBehaviors() method

Removes behaviors from this element.

Signature:
removeBehaviors(behaviors: ReadonlyArray<Behavior>, force?: boolean): void;

Parameters

ParameterTypeDescription
behaviorsReadonlyArray<Behavior>The behaviors to remove.
forcebooleanForces unbinding of behaviors.
Returns:

void