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

Function buttonAnimation

assets/js/pianoApp.js:77–80  ·  view source on GitHub ↗
(currentKey)

Source from the content-addressed store, hash-verified

75}
76
77function buttonAnimation(currentKey) {
78 var activeButton = document.querySelector("." + currentKey);
79 activeButton.classList.add("pressed");
80}

Callers 1

pianoApp.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected