()
| 397 | return animate(); |
| 398 | |
| 399 | function animate() { |
| 400 | const scroll = getScroll(); |
| 401 | if (!scroll) return; |
| 402 | prevScrollLeft = $parent.scrollLeft += scroll; |
| 403 | animationFrame = requestAnimationFrame(animate); |
| 404 | } |
| 405 | } |
| 406 | |
| 407 | /** |
no test coverage detected