MCPcopy
hub / github.com/bitshadow/iconate / removeAnimation

Function removeAnimation

src/iconate.js:40–45  ·  view source on GitHub ↗
(element)

Source from the content-addressed store, hash-verified

38 }
39
40 function removeAnimation(element) {
41 element.style.removeProperty('-webkit-animation');
42 element.style.removeProperty('animation');
43 element.style.removeProperty('-moz-animation');
44 element.style.removeProperty('-o-animation');
45 }
46
47 function changeClasses(element, from, to) {
48 if (element.classList.contains(from)) {

Callers 1

animationEndHandlerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected