Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
10
function
removeTransition(e) {
11
if
(e.propertyName !==
'transform'
)
return
;
12
e.target.classList.remove(
'playing'
);
13
}
14
15
function
playSound(e) {
16
const
audio = document.querySelector(`audio[data-key=
"${e.keyCode}"
]`);
Callers
nothing calls this directly
Calls
1
remove
Method · 0.80
Tested by
no test coverage detected