Skip to main content

Function: createAppIconElement()

function createAppIconElement(
name: AppIconName,
options?: AppIconSvgOptions,
runtime?: IconFactoryRuntime
): SVGSVGElement;

Defined in: utils/ui/icons/iconFactory.ts:305

Build an inline SVG element for a known app icon.

Parameters​

name​

AppIconName

Icon name to render.

options?​

AppIconSvgOptions = {}

SVG sizing, class, stroke, and title options.

runtime?​

IconFactoryRuntime = ...

Returns​

SVGSVGElement

SVG element instance.