iconSvg()
iconSvg(
name,handler,tooltipMsg):HTMLElement
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 | null | (this, ev) => any | null |
tooltipMsg | null | string | null |
Returns
HTMLElement