Skip to content
On this page

addIcon ​

ts
export function addIcon(iconId: string, svgContent: string): void;

往库中添加一个icon

Parameters ​

ParameterDescription
iconIdthe icon ID
svgContentthe content of the SVG.