Files
Camilou.fr/VUEJS/myapp/node_modules/@iconify/utils/lib/svg/url.d.ts
T
Camilla Schoeser 6a71f91e2f ajout du site
2026-05-29 21:38:59 +02:00

16 lines
426 B
TypeScript

/**
* Encode SVG for use in url()
*
* Short alternative to encodeURIComponent() that encodes only stuff used in SVG, generating
* smaller code.
*/
declare function encodeSVGforURL(svg: string): string;
/**
* Generate data: URL from SVG
*/
declare function svgToData(svg: string): string;
/**
* Generate url() from SVG
*/
declare function svgToURL(svg: string): string;
export { encodeSVGforURL, svgToData, svgToURL };