MCPcopy Create free account
hub / github.com/Vishal-raj-1/Awesome-JavaScript-Projects / clockStop

Function clockStop

assets/js/digitalClock.js:44–50  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

42}
43
44function clockStop() {
45 start.removeAttribute("disabled");
46 start.classList.remove("disabled");
47 clearInterval(interval);
48 stop.setAttribute("disabled", true);
49 stop.classList.add("disabled");
50}
51
52start.addEventListener("click", clockStart);
53stop.addEventListener("click", clockStop);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected