Skip to main content
Version: 1.x

@microsoft/fast-element > ElementStyles > withBehaviors

ElementStyles.withBehaviors() method

Associates behaviors with this set of styles.

Signature:
withBehaviors(...behaviors: Behavior[]): this;

Parameters

ParameterTypeDescription
behaviorsBehavior[]The behaviors to associate.
Returns:

this