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

Function buttonAnimation

assets/js/Xylophone.js:47–55  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

45}
46
47function buttonAnimation(key) {
48 var activeButton = document.getElementById(key)
49
50 activeButton.classList.add('pressed')
51
52 setTimeout(function () {
53 activeButton.classList.remove('pressed')
54 }, 600)
55}

Callers 1

Xylophone.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected