MCPcopy Create free account
hub / github.com/codemistic/Web-Development / removeTransition

Function removeTransition

jsdrum/main.js:10–13  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

8// });
9
10function removeTransition(e) {
11 if (e.propertyName !== 'transform') return;
12 e.target.classList.remove('playing');
13 }
14
15function playSound(e) {
16 const audio = document.querySelector(`audio[data-key="${e.keyCode}"]`);

Callers

nothing calls this directly

Calls 1

removeMethod · 0.80

Tested by

no test coverage detected