RedDokia API 레퍼런스 / getRedDokiaIconSvg
함수: getRedDokiaIconSvg()
ts
function getRedDokiaIconSvg(name, size?): string;매개변수
| 매개변수 | 유형 | 기본 값 | 설명 |
|---|---|---|---|
name | string | undefined | Built-in icon key in RedDokiaIcons or inline <svg> string |
size? | number | 16 | Width and height in pixels (default: 16) |
반환 형식:
string
SVG markup string, or '' if the icon name is not found 내장 RedDokiaIcons 이름(또는 인라인 <svg> 문자열)에 해당하는 <svg>...</svg> 마크업 문자열을 반환합니다.