(element: HTMLElement, props: MovingStyle)
| 352 | const shown: MovingStyle = {}; |
| 353 | const echoes: Animation[] = []; |
| 354 | const applyStyle = (element: HTMLElement, props: MovingStyle) => |
| 355 | Object.entries(props).forEach(([name, value]) => { |
| 356 | if (value === null || value === undefined) { |
| 357 | element.style.removeProperty(name); |
| 358 | } else { |
| 359 | element.style.setProperty(name, value); |
| 360 | } |
| 361 | }); |
| 362 | const followHead = (element: HTMLElement) => { |
| 363 | const running = headElement |
| 364 | .getAnimations?.() |
no outgoing calls
no test coverage detected