Skip to content

Commit fb7ea43

Browse files
committed
Docs - Fix internal API link formatting for options v8
1 parent b073ec4 commit fb7ea43

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

website/src/content/v8/pages/api/options.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ Set scroll duration when triggered by any of the API methods. Higher numbers ena
417417
/>
418418
<PrismHighlight language="ts" hideLabel code={`{ inViewThreshold: 0 }`} />
419419

420-
This is the Intersection Observer [threshold](https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API#creating_an_intersection_observer) option that will be applied to all slides.
420+
This is the Intersection Observer [`threshold`](https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API#creating_an_intersection_observer) option that will be applied to all slides.
421421

422422
---
423423

@@ -537,7 +537,7 @@ Enables for scrolling the carousel with mouse and touch interactions. Set this t
537537
code={`{ watchFocus: true | false | (emblaApi, event) => boolean | void }`}
538538
/>
539539

540-
Embla automatically watches the [`slides`](#slides) for focus events. The default callback fires the [slideFocus](/docs/v8/api/events/#slidefocus) event and [scrollTo](/docs/v8/api/methods/#scrollto) to the focused element. Set this to `false` to disable this behaviour or pass a custom callback to add your own focus logic.
540+
Embla automatically watches the [`slides`](#slides) for focus events. The default callback fires the [`slideFocus`](/docs/v8/api/events/#slidefocus) event and [`scrollTo`](/docs/v8/api/methods/#scrollto) to the focused element. Set this to `false` to disable this behaviour or pass a custom callback to add your own focus logic.
541541

542542
<Admonition type="note">
543543
**Note:** When passing a custom callback it will run **before** the default
@@ -560,7 +560,7 @@ Embla automatically watches the [`slides`](#slides) for focus events. The defaul
560560
code={`{ watchResize: true | false | (emblaApi, entries) => boolean | void }`}
561561
/>
562562

563-
Embla automatically watches the [container](/docs/v8/api/methods/#containernode) and [slides](/docs/v8/api/methods/#slidenodes) for size changes and runs [reInit](/docs/v8/api/methods/#reinit) when any size has changed. Set this to `false` to disable this behaviour or pass a custom callback to add your own resize logic.
563+
Embla automatically watches the [`container`](/docs/v8/api/methods/#containernode) and [`slides`](/docs/v8/api/methods/#slidenodes) for size changes and runs [`reInit`](/docs/v8/api/methods/#reinit) when any size has changed. Set this to `false` to disable this behaviour or pass a custom callback to add your own resize logic.
564564

565565
<Admonition type="note">
566566
**Note:** When passing a custom callback it will run **before** the default
@@ -583,7 +583,7 @@ Embla automatically watches the [container](/docs/v8/api/methods/#containernode)
583583
code={`{ watchSlides: true | false | (emblaApi, mutations) => boolean | void }`}
584584
/>
585585

586-
Embla automatically watches the [container](/docs/v8/api/methods/#containernode) for **added** and/or **removed** slides and runs [reInit](/docs/v8/api/methods/#reinit) if needed. Set this to `false` to disable this behaviour or pass a custom callback to add your own slides changed logic.
586+
Embla automatically watches the [`container`](/docs/v8/api/methods/#containernode) for **added** and/or **removed** slides and runs [`reInit`](/docs/v8/api/methods/#reinit) if needed. Set this to `false` to disable this behaviour or pass a custom callback to add your own slides changed logic.
587587

588588
<Admonition type="note">
589589
**Note:** When passing a custom callback it will run **before** the default

0 commit comments

Comments
 (0)