Function
onStop
(callback: AnimationLifecycle, opts?: AnimationCallbackOptions)
Source from the content-addressed store, hash-verified
| 164 | * @param opts: Any options associated with this particular callback |
| 165 | */ |
| 166 | const onStop = (callback: AnimationLifecycle, opts?: AnimationCallbackOptions) => { |
| 167 | onStopOneTimeCallbacks.push({ c: callback, o: opts }); |
| 168 | |
| 169 | return ani; |
| 170 | }; |
| 171 | |
| 172 | const onFinish = (callback: AnimationLifecycle, opts?: AnimationCallbackOptions) => { |
| 173 | const callbacks = opts?.oneTimeCallback ? onFinishOneTimeCallbacks : onFinishCallbacks; |
Tested by
no test coverage detected