@microsoft/fast-element > ElementStyles > withBehaviors
ElementStyles.withBehaviors() method
Associates behaviors with this set of styles.
Signature:withBehaviors(...behaviors: Behavior[]): this;
Parameters
Parameter | Type | Description |
---|---|---|
behaviors | Behavior[] | The behaviors to associate. |
this