createSvgIconSpec MethodStatic

Deprecated  in 3.2. Please avoid using the Sprite loader and use IconSpecUtilities.createWebComponentIconSpec() instead.

Create an IconSpec for an SVG loaded into web component with sprite loader This method is deprecated -- use createWebComponentIconSpec()

createSvgIconSpec(svgSrc: string): string

Parameter Type Description
svgSrc string  

Returns - string

Defined in

Last Updated: 17 December, 2024