showing results for - "change view port of svg with javascript"
Leonardo
25 Jun 2016
1shape = document.getElementsByTagName("svg")[0];
2shape.setAttribute("viewBox", "-250 -250 500 750");