版博士V2.0程序
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 
 

18 řádky
428 B

  1. /**
  2. * Encode SVG for use in url()
  3. *
  4. * Short alternative to encodeURIComponent() that encodes only stuff used in SVG, generating
  5. * smaller code.
  6. */
  7. declare function encodeSVGforURL(svg: string): string;
  8. /**
  9. * Generate data: URL from SVG
  10. */
  11. declare function svgToData(svg: string): string;
  12. /**
  13. * Generate url() from SVG
  14. */
  15. declare function svgToURL(svg: string): string;
  16. export { encodeSVGforURL, svgToData, svgToURL };