IconSpecUtilities Class
Beta
Creates an IconSpec with an SVG source and gets the SVG source from an IconSpec.
Methods
Name | Description | |
---|---|---|
constructor(): IconSpecUtilities | ||
createSvgIconSpec(svgSrc: string): string Static | Create an IconSpec for an SVG | |
getSvgSource(iconSpec: string): undefined | string Static | Get the SVG Source from an IconSpec |
Properties
Name | Type | Description | |
---|---|---|---|
SVG_PREFIX StaticReadonly | "svg:" | Prefix for an SVG IconSpec |
Defined in
Last Updated: 11 June, 2024