Skip to main content

createAppIconElement

FitFileViewer - API Documentation v30.0.1


FitFileViewer - API Documentation / utils/ui/icons/iconFactory / createAppIconElement

Function: createAppIconElement()

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.