πParse SVG
Members
parseSvg β string
Check if the custom badge is valid (SVG)
validateImage β string
Helper function to validate images
parseSvg β string
stringCheck if the custom badge is valid (SVG)
Kind: global variable
Returns: string - Image URL
Param
Type
Description
imgString
string
Image URL
validateImage β string
stringHelper function to validate images
Kind: global variable
Returns: string - Image URL
Param
Type
Description
imgString
string
Image URL
format
string
Image format ('png', 'svg', etc.)
Last updated