()
| 899 | * clear the onFinish callbacks. |
| 900 | */ |
| 901 | const stop = () => { |
| 902 | childAnimations.forEach((animation) => { |
| 903 | animation.stop(); |
| 904 | }); |
| 905 | |
| 906 | if (initialized) { |
| 907 | cleanUpElements(); |
| 908 | initialized = false; |
| 909 | } |
| 910 | |
| 911 | resetFlags(); |
| 912 | |
| 913 | onStopOneTimeCallbacks.forEach((onStopCallback) => onStopCallback.c(0, ani)); |
| 914 | onStopOneTimeCallbacks.length = 0; |
| 915 | }; |
| 916 | |
| 917 | const from = (property: string, value: string | number) => { |
| 918 | const firstFrame = _keyframes[0] as AnimationKeyFrameEdge | undefined; |
nothing calls this directly
no test coverage detected