iconSvg()
iconSvg(
name,handler?,tooltipMsg?):HTMLElement
Defined in: ui.ts:294
Creates an icon for the SVG image Usage:
- iconSvg('ai.svg') would map to /images/ai.svg
- iconSvg('ai') would map to the
svg-aiclass
Parameters
| Parameter | Type | Default value |
|---|---|---|
name | string | undefined |
handler | ((this, ev) => any) | null | null |
tooltipMsg | string | null | null |
Returns
HTMLElement