MCPcopy Index your code
hub / github.com/bendc/animateplus / createSVG

Function createSVG

animateplus.js:33–37  ·  view source on GitHub ↗
(element, attributes)

Source from the content-addressed store, hash-verified

31 : "auto";
32
33const createSVG = (element, attributes) =>
34 Object.entries(attributes).reduce((node, [attribute, value]) => {
35 node.setAttribute(attribute, value);
36 return node;
37 }, document.createElementNS("http://www.w3.org/2000/svg", element));
38
39
40// motion blur

Callers 1

addFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected