(time)
| 17 | |
| 18 | // Define a function to run at each animation frame |
| 19 | const scrollFn = (time) => { |
| 20 | lenis.raf(time); // Run Lenis' requestAnimationFrame method |
| 21 | requestAnimationFrame(scrollFn); // Recursively call scrollFn on each frame |
| 22 | }; |
| 23 | // Start the animation frame loop |
| 24 | requestAnimationFrame(scrollFn); |
| 25 | }; |
nothing calls this directly
no outgoing calls
no test coverage detected