Skip to content

Commit

Permalink
[i18nIgnore] Update configuration-reference.mdx (#6156)
Browse files Browse the repository at this point in the history
  • Loading branch information
wtto00 authored Jan 5, 2024
1 parent 342f142 commit ac6d099
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/content/docs/en/reference/configuration-reference.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ The default prefetch strategy to use when the `data-astro-prefetch` attribute is
- `'tap'`: Prefetch just before you click on the link.
- `'hover'`: Prefetch when you hover over or focus on the link. (default)
- `'viewport'`: Prefetch as the links enter the viewport.
- `'load'`: Prefetch the link without any restrictions.
- `'load'`: Prefetch all links on the page after the page is loaded.

You can override this default value and select a different strategy for any individual link by setting a value on the attribute.

Expand Down
3 changes: 2 additions & 1 deletion src/content/docs/es/reference/configuration-reference.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ Cuando se establece en `true`, puedes deshabilitar el prefetching individualment

<p>

**Tipo:** `'tap' | 'hover' | 'viewport'`<br />
**Tipo:** `'tap' | 'hover' | 'viewport' | 'load'`<br />
**Por defecto:** `'hover'`
</p>

Expand All @@ -548,6 +548,7 @@ La estrategia de precarga predeterminada para utilizar cuando el atributo `data-
- `'tap'`: Precarga justo antes de hacer clic en el enlace.
- `'hover'`: Precarga cuando pasas el cursor o te enfocas en el enlace. (predeterminada)
- `'viewport'`: Precarga cuando los enlaces entran en el viewport.
- `'load'`: Precarga todos los enlaces en la página después de que la página se ha cargado.

Puedes reemplazar este valor predeterminado y seleccionar una estrategia diferente para cualquier enlace individual estableciendo un valor en el atributo.

Expand Down
3 changes: 2 additions & 1 deletion src/content/docs/ko/reference/configuration-reference.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ prefetch: {

<p>

**타입:** `'tap' | 'hover' | 'viewport'`<br />
**타입:** `'tap' | 'hover' | 'viewport' | 'load'`<br />
**기본값:** `'hover'`
</p>

Expand All @@ -564,6 +564,7 @@ prefetch: {
- `'tap'`: 링크를 클릭하기 직전에 미리 가져옵니다.
- `'hover'`: 링크 위로 마우스를 가져가거나 링크에 초점을 맞추면 미리 가져옵니다. (기본값)
- `'viewport'`: 링크가 뷰포트에 들어갈 때 미리 가져옵니다.
- `'load'`: 페이지가 로드된 후에 페이지의 모든 링크를 미리 가져오세요.。

속성에 값을 설정하여 이 기본값을 무시하고 개별 링크에 대해 다른 전략을 선택할 수 있습니다.

Expand Down
3 changes: 2 additions & 1 deletion src/content/docs/zh-cn/reference/configuration-reference.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ prefetch: {

<p>

**类型:** `'tap' | 'hover' | 'viewport'`<br />
**类型:** `'tap' | 'hover' | 'viewport' | 'load'`<br />
**默认值:** `'hover'`
</p>

Expand All @@ -581,6 +581,7 @@ prefetch: {
- `'tap'`:在你点击链接之前进行预获取。
- `'hover'`:当你悬停或聚焦在链接上时进行预获取。(默认)
- `'viewport'`:当链接进入视口时进行预获取。
- `'load'`:当页面加载后预获取当前页面的所有链接。

你可以通过在属性上设置值来覆盖此默认值,并为任何单独的链接选择不同的策略。

Expand Down

1 comment on commit ac6d099

@vercel
Copy link

@vercel vercel bot commented on ac6d099 Jan 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.