@microsoft/fast-element > Controller > removeBehaviors
Controller.removeBehaviors() method
Removes behaviors from this element.
Signature:removeBehaviors(behaviors: ReadonlyArray<Behavior>, force?: boolean): void;
Parameters
Parameter | Type | Description |
---|---|---|
behaviors | ReadonlyArray<Behavior> | The behaviors to remove. |
force | boolean | Forces unbinding of behaviors. |
void