@microsoft/fast-element > ElementController > setStrategy
ElementController.setStrategy() method
Sets the strategy that ElementController.forCustomElement uses to construct ElementController instances for an element.
Signature:
static setStrategy(strategy: ElementControllerStrategy): void;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
strategy |
The strategy to use. |
Returns:
void