Skip to content

Commit 4c38717

Browse files
committed
docs: add threshold option documentation
1 parent 2fb4c58 commit 4c38717

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/config.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
| `pauseAutoplayOnHover` | `boolean` | false | When true, autoplay pauses while the mouse cursor is over the carousel. |
2121
| `preventExcessiveDragging` | `boolean` | false | Limits dragging behavior at carousel boundaries for better UX. <Badge text="0.13.0" /> |
2222
| `snapAlign` | 'start', 'end', 'center-odd', 'center-even' | 'center' | Determines how slides are aligned within the viewport. |
23+
| `threshold` | `number` | 0.5 | Define a threshold for the drag distance required to trigger a slide transition. |
2324
| `touchDrag` | `boolean` | true | Enables/disables touch navigation on touch-enabled devices. |
2425
| `transition` | `number` | 300 | Duration of the slide transition animation in milliseconds. |
2526
| `wrapAround` | `boolean` | false | When true, creates an infinite loop effect by connecting the last slide to the first. |

0 commit comments

Comments
 (0)