setIcon
export function setIcon(parent: HTMLElement, iconId: string, size?: number): void;
#
ParametersParameter | Description |
---|---|
parent | the HTML element to insert the icon |
iconId | the icon ID |
size | the pixel size for width and height, defaults to 16 |
export function setIcon(parent: HTMLElement, iconId: string, size?: number): void;
Parameter | Description |
---|---|
parent | the HTML element to insert the icon |
iconId | the icon ID |
size | the pixel size for width and height, defaults to 16 |