ElementStyles.setDefaultStrategy() method
@microsoft/fast-element > ElementStyles > setDefaultStrategy
ElementStyles.setDefaultStrategy() method
Sets the default strategy type to use when creating style strategies.
Signature:
static setDefaultStrategy(Strategy: ConstructibleStyleStrategy): void;
Parameters
Parameter | Type | Description |
---|---|---|
Strategy | The strategy type to construct. |
Returns:
void