ModifierInterface.setOption() method
Set an option by key.
Signature:
setOption<K extends keyof TOptions>(key: K, value: TOptions[K] | undefined): this;
Parameters
Parameter |
Type |
Description |
---|---|---|
key |
K | |
value |
TOptions[K] | undefined |
this