You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: documentation/docs/examples/how-it-works.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ As the element scrolls past the viewport a css translate effect is applied based
21
21
22
22
Note that `speed` is only an abstraction for setting `translateY` or `translateX` based on the scroll axis. Each increment of **speed** by one will increase the translate effect by `10px`.
23
23
24
-
Example: With a vertical scroll axis, `speed: 10` is equivalent to `translateY: ['10px', '-10px']` and `speed: -10` is equivalent to `translateY: ['-10px', '10px']`.
24
+
Example: With a vertical scroll axis, `speed: 10` is equivalent to `translateY: ['100px', '-100px']` and `speed: -10` is equivalent to `translateY: ['-100px', '100px']`.
0 commit comments