@tempots/dom
DOMContext.setStyle() method
Sets the style of the element.
Signature:
setStyle(name: string, value: string): void;
Parameters
Parameter |
Type |
Description |
---|---|---|
name |
string |
The name of the style to set. |
value |
string |
The value of the style to set. |
Returns: void