getSvgSource MethodStatic
Deprecated in 3.2. avoid using the Sprite loader and use IconSpecUtilities.getWebComponentSource() instead.
Get the SVG Source from an sprite IconSpec This method is deprecated -- use getWebComponentSource()
getSvgSource(iconSpec: string): undefined | string
| Parameter | Type | Description | 
|---|---|---|
| iconSpec | string | 
Returns - undefined | string
Defined in
Last Updated: 24 June, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.