MCPcopy Create free account
hub / github.com/Ashutosh00710/github-readme-activity-graph / changePointColor

Function changePointColor

script.js:297–305  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

295
296// Point Color
297const changePointColor = () => {
298 valueToCopy.point = inputElements.pointInput.value;
299 const allPointLables = document.querySelectorAll('.ct-point');
300 const len = allPointLables.length;
301 for (let idx = 0; idx < len; idx++) {
302 allPointLables[idx].style.stroke = inputElements.pointInput.value;
303 }
304 generateLink();
305};
306
307// Copy to clipboard
308const copyLink = () => {

Callers 1

onThemeChangeFunction · 0.85

Calls 1

generateLinkFunction · 0.85

Tested by

no test coverage detected