()
| 772 | }; |
| 773 | |
| 774 | const pauseAnimation = () => { |
| 775 | if (initialized) { |
| 776 | if (supportsWebAnimations) { |
| 777 | webAnimations.forEach((animation) => { |
| 778 | animation.pause(); |
| 779 | }); |
| 780 | } else { |
| 781 | elements.forEach((element) => { |
| 782 | setStyleProperty(element, 'animation-play-state', 'paused'); |
| 783 | }); |
| 784 | } |
| 785 | |
| 786 | paused = true; |
| 787 | } |
| 788 | }; |
| 789 | |
| 790 | const pause = () => { |
| 791 | childAnimations.forEach((animation) => { |
no test coverage detected