svg 개체 동적으로 생성하기

catch me if u can!·2021년 2월 17일
0

https://jsfiddle.net/83qpktrx/2/

tagName에 생성하고자 하는 태그명(svg, path, circle...)을 지정하여 생성.

var el = document.createElementNS('http://www.w3.org/2000/svg', tagName);
profile
마쿠투소케 난쿠로나이사

0개의 댓글