mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-21 01:02:59 +08:00
docs(components): [anchor] word error (#16040)
This commit is contained in:
parent
bd3593140b
commit
f71a112722
@ -10,5 +10,5 @@
|
||||
"Scroll Container": "Scroll Container",
|
||||
"Anchor API": "Anchor API",
|
||||
"Anchor Attributes": "Anchor Attributes",
|
||||
"Anchor events": "Anchor events"
|
||||
"Anchor Events": "Anchor Events"
|
||||
}
|
||||
|
@ -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 |
|
||||
| -------- | ----------- |
|
||||
|
@ -14,10 +14,10 @@
|
||||
{{ locale['Anchor API'] }}
|
||||
<template #sub-link>
|
||||
<el-anchor-link :href="`#${locale['anchor-attributes']}`">
|
||||
{{ locale['Anchor attributes'] }}
|
||||
{{ locale['Anchor Attributes'] }}
|
||||
</el-anchor-link>
|
||||
<el-anchor-link :href="`#${locale['anchor-events']}`">
|
||||
{{ locale['Anchor events'] }}
|
||||
{{ locale['Anchor Events'] }}
|
||||
</el-anchor-link>
|
||||
</template>
|
||||
</el-anchor-link>
|
||||
|
@ -13,10 +13,10 @@
|
||||
{{ locale['Anchor API'] }}
|
||||
<template #sub-link>
|
||||
<el-anchor-link :href="`#${locale['anchor-attributes']}`">
|
||||
{{ locale['Anchor attributes'] }}
|
||||
{{ locale['Anchor Attributes'] }}
|
||||
</el-anchor-link>
|
||||
<el-anchor-link :href="`#${locale['anchor-events']}`">
|
||||
{{ locale['Anchor events'] }}
|
||||
{{ locale['Anchor Events'] }}
|
||||
</el-anchor-link>
|
||||
</template>
|
||||
</el-anchor-link>
|
||||
|
@ -13,10 +13,10 @@
|
||||
{{ locale['Anchor API'] }}
|
||||
<template #sub-link>
|
||||
<el-anchor-link :href="`#${locale['anchor-attributes']}`">
|
||||
{{ locale['Anchor attributes'] }}
|
||||
{{ locale['Anchor Attributes'] }}
|
||||
</el-anchor-link>
|
||||
<el-anchor-link :href="`#${locale['anchor-events']}`">
|
||||
{{ locale['Anchor events'] }}
|
||||
{{ locale['Anchor Events'] }}
|
||||
</el-anchor-link>
|
||||
</template>
|
||||
</el-anchor-link>
|
||||
|
@ -13,10 +13,10 @@
|
||||
{{ locale['Anchor API'] }}
|
||||
<template #sub-link>
|
||||
<el-anchor-link :href="`#${locale['anchor-attributes']}`">
|
||||
{{ locale['Anchor attributes'] }}
|
||||
{{ locale['Anchor Attributes'] }}
|
||||
</el-anchor-link>
|
||||
<el-anchor-link :href="`#${locale['anchor-events']}`">
|
||||
{{ locale['Anchor events'] }}
|
||||
{{ locale['Anchor Events'] }}
|
||||
</el-anchor-link>
|
||||
</template>
|
||||
</el-anchor-link>
|
||||
|
Loading…
Reference in New Issue
Block a user