From 01992ef31c5ffe4f70513a074b49efe60a473460 Mon Sep 17 00:00:00 2001 From: Chris Stott Date: Tue, 5 Nov 2024 12:04:15 -0800 Subject: [PATCH] Update README.md (#406) Fix typo in scrollTo documentation --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e17acf41..a77756b2 100644 --- a/README.md +++ b/README.md @@ -230,7 +230,7 @@ See documentation for [lenis/react](https://github.com/darkroomengineering/lenis | Method | Description | Arguments | |-----------------------------|---------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | `raf(time)` | Must be called every frame for internal usage. | `time`: in ms | -| `scrollTo(target, options)` | Scroll to target. | `target`: goal to reach