Skip to content

Commit 43f11a1

Browse files
committed
docs: correct note about speed
1 parent d6e2a2e commit 43f11a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

documentation/docs/examples/how-it-works.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ As the element scrolls past the viewport a css translate effect is applied based
2121

2222
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`.
2323

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']`.
2525

2626
:::
2727

0 commit comments

Comments
 (0)