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