globals/SVGElement.prototype
Mocks of the inline-style helpers Obsidian adds to SVGElement.prototype.
Functions
Section titled “Functions”| Function | Description |
|---|---|
| setCssProps | Sets CSS properties, including custom properties such as --size, on the element’s inline style. |
| setCssStyles | Assigns camelCase style declarations to the element’s inline style. |