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

Function toggleVisablity

assets/js/maze.js:40–46  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

38}
39
40function toggleVisablity(id) {
41 if (document.getElementById(id).style.visibility == "visible") {
42 document.getElementById(id).style.visibility = "hidden";
43 } else {
44 document.getElementById(id).style.visibility = "visible";
45 }
46}
47
48function Maze(Width, Height) {
49 var mazeMap;

Callers 1

displayVictoryMessFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected