MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / el

Function el

telemetry-dashboard/public/app.js:88–93  ·  view source on GitHub ↗
(tag, className, text)

Source from the content-addressed store, hash-verified

86// ---------------------------------------------------------------------------
87
88function el(tag, className, text) {
89 const node = document.createElement(tag);
90 if (className) node.className = className;
91 if (text !== undefined) node.textContent = text;
92 return node;
93}
94
95const $ = (root, role) => root.querySelector(`[data-role="${role}"]`);
96

Callers 4

buildFiltersFunction · 0.85
buildPanelsFunction · 0.85
drawTableFunction · 0.85
drawFunnelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected