Skip to content

getIcon

getIcon(iconId): SVGSVGElement | null

Defined in: obsidian.d.ts:1880

Create an SVG from an iconId. Returns null if no icon associated with the iconId.

Parameters

iconId

string

the icon ID

Returns

SVGSVGElement | null