Skip to content

addIcon

addIcon(iconId, svgContent): void

Defined in: obsidian.d.ts:371

Adds an icon to the library.

Parameters

iconId

string

the icon ID

svgContent

string

the content of the SVG.

Returns

void