UNPKG

@itwin/appui-abstract

Version:
20 lines 1.24 kB
/** @packageDocumentation * @module Utilities */ /** Creates an IconSpec with an SVG source and gets the SVG source from an IconSpec. * @public @deprecated in 4.3 - might be removed in next major version. AppUI libraries >= 4.7.x support loading SVGs sources without prefixes, eliminating the need for these utilities. */ export declare class IconSpecUtilities { /** Prefix for an SVG IconSpec loaded with the Sprite loader */ static readonly SVG_PREFIX = "svg:"; static readonly WEB_COMPONENT_PREFIX = "webSvg:"; /** Create an IconSpec for an SVG loaded into web component with svg-loader * @public @deprecated in 4.3 - might be removed in next major version. AppUI libraries > 4.7.x support loading SVGs sources without prefixes, eliminating the need for this utility. */ static createWebComponentIconSpec(srcString: string): string; /** Get the SVG Source from an svg-loader IconSpec * @public @deprecated in 4.3 - might be removed in next major version. AppUI libraries > 4.7.x support loading SVGs sources without prefixes, eliminating the need for this utility. */ static getWebComponentSource(iconSpec: string): string | undefined; } //# sourceMappingURL=IconSpecUtilities.d.ts.map