()
| 648 | }; |
| 649 | |
| 650 | const initializeAnimation = () => { |
| 651 | beforeAnimation(); |
| 652 | |
| 653 | if (_keyframes.length > 0) { |
| 654 | if (supportsWebAnimations) { |
| 655 | initializeWebAnimation(); |
| 656 | } |
| 657 | } |
| 658 | |
| 659 | initialized = true; |
| 660 | }; |
| 661 | |
| 662 | const setAnimationStep = (step: number) => { |
| 663 | step = Math.min(Math.max(step, 0), 0.9999); |
no test coverage detected