globals/functions/createSvg
Mock of Obsidian’s global createSvg helper, which builds an SVG element from SvgElementInfo options.
Functions
Section titled “Functions”| Function | Description |
|---|---|
| createSvg | Creates an element in the SVG namespace and applies its options: class and attributes, then appends it to parent (or prepends it when prepend is set). |