Skip to content

globals/SVGElement.prototype

Mocks of the inline-style helpers Obsidian adds to SVGElement.prototype.

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.