diff --git a/docs/.vitepress/crowdin/en-US/component/anchor.json b/docs/.vitepress/crowdin/en-US/component/anchor.json index 1d11e36779..95b2ddb731 100644 --- a/docs/.vitepress/crowdin/en-US/component/anchor.json +++ b/docs/.vitepress/crowdin/en-US/component/anchor.json @@ -10,5 +10,5 @@ "Scroll Container": "Scroll Container", "Anchor API": "Anchor API", "Anchor Attributes": "Anchor Attributes", - "Anchor events": "Anchor events" + "Anchor Events": "Anchor Events" } diff --git a/docs/en-US/component/anchor.md b/docs/en-US/component/anchor.md index 3f149c941e..425eb35f0a 100644 --- a/docs/en-US/component/anchor.md +++ b/docs/en-US/component/anchor.md @@ -87,21 +87,21 @@ anchor/affix | type | set Anchor type. | ^[enum]`'defalut' \| 'underline'` | `default` | | direction | Set Anchor direction. | ^[enum]`'vertical' \| 'horizontal'` | `vertical` | -### Anchor events +### Anchor Events | Name | Description | Type | | ------ | ------------------------------ | -------------------------------------- | | change | callback when the step changes | ^[Function]`(href: string) => void` | | click | Triggered when the user clicks on the link | ^[Function]`(e: MouseEvent, href?: string) => void` | -### Anchor methods +### Anchor Methods | Name | Description | Type | | ---------- | ------------------------------------------------------------- | ------- | | scrollTo | Manually scroll to the specific position. | ^[Function]`(href: string) => void`| -### Anchor slots +### Anchor Slots | Name | Description | | ---------- | ------------------------------------------------------------- | @@ -115,7 +115,7 @@ anchor/affix | title | the text content of the anchor link. | `string` | — | | href | The address of the anchor link. | `string` | - | -### AnchorLink slots +### AnchorLink Slots | Name | Description | | -------- | ----------- | diff --git a/docs/examples/anchor/affix.vue b/docs/examples/anchor/affix.vue index c65d473e87..92a146c21f 100644 --- a/docs/examples/anchor/affix.vue +++ b/docs/examples/anchor/affix.vue @@ -14,10 +14,10 @@ {{ locale['Anchor API'] }} diff --git a/docs/examples/anchor/basic.vue b/docs/examples/anchor/basic.vue index 4efd4147e9..a40ab898ce 100644 --- a/docs/examples/anchor/basic.vue +++ b/docs/examples/anchor/basic.vue @@ -13,10 +13,10 @@ {{ locale['Anchor API'] }} diff --git a/docs/examples/anchor/change.vue b/docs/examples/anchor/change.vue index 051a65e6ef..53c5529b11 100644 --- a/docs/examples/anchor/change.vue +++ b/docs/examples/anchor/change.vue @@ -13,10 +13,10 @@ {{ locale['Anchor API'] }} diff --git a/docs/examples/anchor/underline.vue b/docs/examples/anchor/underline.vue index 7d432ebc6f..24198f6bf7 100644 --- a/docs/examples/anchor/underline.vue +++ b/docs/examples/anchor/underline.vue @@ -13,10 +13,10 @@ {{ locale['Anchor API'] }}