setCssProps
Sets CSS properties, including custom properties such as --size, on the element’s inline style.
Import:
import 'obsidian-test-mocks/setup';Signature:
function setCssProps(this: SVGElement, props: Record<string, string>): voidParameters:
| Parameter | Type | Description |
|---|---|---|
this |
SVGElement | |
props |
Record<string, string> | Property names mapped to the values to set. |
Returns: void