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: website/src/content/v9/pages/plugins/auto-scroll.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
@@ -135,7 +135,7 @@ This option is used to set the auto scroll direction. Set it to `backward` if yo
135
135
/>
136
136
137
137
When set to `true`, auto scroll follows Embla Carousel's **default interaction behavior** — it stops when the user interacts with the carousel (for example, on focus or pointer down).
138
-
Set this to `false` if you want to **handle interactions manually** using the [`autoScroll:interaction`](#autoscrollinteraction) event.
138
+
Set this to `false` if you want to **handle interactions manually** using the [`autoscroll:interaction`](#autoscrollinteraction) event.
Setting this to `false` will not activate or deactivate the plugin. Useful when used together with the [`breakpoints`](/plugins/autoplay/#breakpoints) option to toggle the plugin active/inactive depending on media queries.
71
+
Setting this to `false` will not activate or deactivate the plugin. Useful when used together with the [`breakpoints`](#breakpoints) option to toggle the plugin active/inactive depending on media queries.
72
72
73
73
---
74
74
@@ -134,7 +134,7 @@ When set to true `true`, autoplay will do instant slide transitions (no animatio
134
134
/>
135
135
136
136
When set to `true`, autoplay follows Embla Carousel's **default interaction behavior** — it stops when the user interacts with the carousel (for example, on focus or pointer down).
137
-
Set this to `false` if you want to **handle interactions manually** using the [`autoplay:interaction`](/plugins/autoplay/#autoplayinteraction) event.
137
+
Set this to `false` if you want to **handle interactions manually** using the [`autoplay:interaction`](#autoplayinteraction) event.
138
138
139
139
---
140
140
@@ -185,7 +185,7 @@ Below follows an exhaustive **list of all** `Autoplay` **methods** with their re
Start autoplay. Set the **instant** parameter to `true` when you want autoplay to do instant slide transitions when advancing. Please note that providing a value to this method vill override the [`instant`](/plugins/autoplay/#instant) option.
188
+
Start autoplay. Set the **instant** parameter to `true` when you want autoplay to do instant slide transitions when advancing. Please note that providing a value to this method vill override the [`instant`](#instant) option.
189
189
190
190
---
191
191
@@ -266,7 +266,7 @@ When playing, the autoplay timer is running and will advance the carousel to the
If the autoplay timer is active, this will return a number representing the time left until the autoplay scrolls to the next snap. If the timer is not active, this will return `null`. Use this together with the [`autoplay:timerset`](/plugins/autoplay/#autoplaytimerset) and [`autoplay:timerstopped`](/plugins/autoplay/#autoplaytimerstopped) events to create a custom progress bar for autoplay.
269
+
If the autoplay timer is active, this will return a number representing the time left until the autoplay scrolls to the next snap. If the timer is not active, this will return `null`. Use this together with the [`autoplay:timerset`](#autoplaytimerset) and [`autoplay:timerstopped`](#autoplaytimerstopped) events to create a custom progress bar for autoplay.
270
270
271
271
---
272
272
@@ -285,7 +285,7 @@ Below follows an exhaustive **list of all** `Autoplay` **events** together with
Fires when autoplay starts playing. When this event is triggered, the **autoplay timer is active**, and autoplay will select the next scroll snap and start scrolling to it when the [`delay`](/plugins/autoplay/#delay) has passed.
288
+
Fires when autoplay starts playing. When this event is triggered, the **autoplay timer is active**, and autoplay will select the next scroll snap and start scrolling to it when the [`delay`](#delay) has passed.
289
289
290
290
---
291
291
@@ -376,8 +376,8 @@ Fires when the autoplay timer is stopped.
376
376
The event fires on different user interactions with the carousel. Use this event to customize how autoplay should respond to user interactions. The `isMouseOver` and `isPointerDown` properties indicate the current state of the mouse and pointer interactions.
377
377
378
378
<Admonitiontype="note">
379
-
**Note:** The [`defaultInteraction`](/plugins/autoplay/#defaultinteraction)
380
-
option has to be set to `false` for this event to fire.
379
+
**Note:** The [`defaultInteraction`](#defaultinteraction) option has to be set
0 commit comments