@microsoft/fast-element > ElementStyles > withStrategy
ElementStyles.withStrategy() method
Sets the strategy that handles adding/removing these styles for an element.
Signature:
withStrategy(Strategy: ConstructibleStyleStrategy): this;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
Strategy |
Returns:
this