Skip to content

addIcon

Code location

addIcon(iconId, svgContent): void

Adds an icon to the library.

Parameters

iconId: string

the icon ID

svgContent: string

the content of the SVG.

Returns

void