Skip to content

Commit 22459f0

Browse files
committed
Docs - Fix wrong event name and links on plugin pages v9
1 parent d7faed1 commit 22459f0

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

website/src/content/v9/pages/plugins/auto-scroll.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ This option is used to set the auto scroll direction. Set it to `backward` if yo
135135
/>
136136

137137
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.
139139

140140
---
141141

website/src/content/v9/pages/plugins/autoplay.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Below follows an exhaustive **list of all** `Autoplay` **options** and their def
6868
<ApiMetaData firstRow={['Type', 'boolean']} secondRow={['Default', 'true']} />
6969
<PrismHighlight language="ts" hideLabel code={`{ active: false | true }`} />
7070

71-
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.
7272

7373
---
7474

@@ -134,7 +134,7 @@ When set to true `true`, autoplay will do instant slide transitions (no animatio
134134
/>
135135

136136
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.
138138

139139
---
140140

@@ -185,7 +185,7 @@ Below follows an exhaustive **list of all** `Autoplay` **methods** with their re
185185
code={`emblaApi.plugins().autoplay?.play(true | false)`}
186186
/>
187187

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`](/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.
189189

190190
---
191191

@@ -266,7 +266,7 @@ When playing, the autoplay timer is running and will advance the carousel to the
266266
code={`emblaApi.plugins().autoplay?.timeUntilNext()`}
267267
/>
268268

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`](/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.
270270

271271
---
272272

@@ -285,7 +285,7 @@ Below follows an exhaustive **list of all** `Autoplay` **events** together with
285285
code={`emblaApi.on('autoplay:play', (emblaApi) => {})`}
286286
/>
287287

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`](/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.
289289

290290
---
291291

@@ -376,8 +376,8 @@ Fires when the autoplay timer is stopped.
376376
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.
377377

378378
<Admonition type="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
380+
to `false` for this event to fire.
381381
</Admonition>
382382

383383
---

0 commit comments

Comments
 (0)