MCPcopy Index your code
hub / github.com/rough-stuff/rough-notation / setAttr

Function setAttr

src/render.ts:205–205  ·  view source on GitHub ↗
(p: SVGPathElement, an: string, av: string)

Source from the content-addressed store, hash-verified

203 const pathElements: SVGPathElement[] = [];
204 let totalLength = 0;
205 const setAttr = (p: SVGPathElement, an: string, av: string) => p.setAttribute(an, av);
206
207 for (const d of pathStrings) {
208 const path = document.createElementNS(SVG_NS, 'path');

Callers 1

renderAnnotationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…