mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-27 02:01:15 +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",
|
"Scroll Container": "Scroll Container",
|
||||||
"Anchor API": "Anchor API",
|
"Anchor API": "Anchor API",
|
||||||
"Anchor Attributes": "Anchor Attributes",
|
"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` |
|
| type | set Anchor type. | ^[enum]`'defalut' \| 'underline'` | `default` |
|
||||||
| direction | Set Anchor direction. | ^[enum]`'vertical' \| 'horizontal'` | `vertical` |
|
| direction | Set Anchor direction. | ^[enum]`'vertical' \| 'horizontal'` | `vertical` |
|
||||||
|
|
||||||
### Anchor events
|
### Anchor Events
|
||||||
|
|
||||||
| Name | Description | Type |
|
| Name | Description | Type |
|
||||||
| ------ | ------------------------------ | -------------------------------------- |
|
| ------ | ------------------------------ | -------------------------------------- |
|
||||||
| change | callback when the step changes | ^[Function]`(href: string) => void` |
|
| 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` |
|
| click | Triggered when the user clicks on the link | ^[Function]`(e: MouseEvent, href?: string) => void` |
|
||||||
|
|
||||||
### Anchor methods
|
### Anchor Methods
|
||||||
|
|
||||||
| Name | Description | Type |
|
| Name | Description | Type |
|
||||||
| ---------- | ------------------------------------------------------------- | ------- |
|
| ---------- | ------------------------------------------------------------- | ------- |
|
||||||
| scrollTo | Manually scroll to the specific position. | ^[Function]`(href: string) => void`|
|
| scrollTo | Manually scroll to the specific position. | ^[Function]`(href: string) => void`|
|
||||||
|
|
||||||
|
|
||||||
### Anchor slots
|
### Anchor Slots
|
||||||
|
|
||||||
| Name | Description |
|
| Name | Description |
|
||||||
| ---------- | ------------------------------------------------------------- |
|
| ---------- | ------------------------------------------------------------- |
|
||||||
@ -115,7 +115,7 @@ anchor/affix
|
|||||||
| title | the text content of the anchor link. | `string` | — |
|
| title | the text content of the anchor link. | `string` | — |
|
||||||
| href | The address of the anchor link. | `string` | - |
|
| href | The address of the anchor link. | `string` | - |
|
||||||
|
|
||||||
### AnchorLink slots
|
### AnchorLink Slots
|
||||||
|
|
||||||
| Name | Description |
|
| Name | Description |
|
||||||
| -------- | ----------- |
|
| -------- | ----------- |
|
||||||
|
@ -14,10 +14,10 @@
|
|||||||
{{ locale['Anchor API'] }}
|
{{ locale['Anchor API'] }}
|
||||||
<template #sub-link>
|
<template #sub-link>
|
||||||
<el-anchor-link :href="`#${locale['anchor-attributes']}`">
|
<el-anchor-link :href="`#${locale['anchor-attributes']}`">
|
||||||
{{ locale['Anchor attributes'] }}
|
{{ locale['Anchor Attributes'] }}
|
||||||
</el-anchor-link>
|
</el-anchor-link>
|
||||||
<el-anchor-link :href="`#${locale['anchor-events']}`">
|
<el-anchor-link :href="`#${locale['anchor-events']}`">
|
||||||
{{ locale['Anchor events'] }}
|
{{ locale['Anchor Events'] }}
|
||||||
</el-anchor-link>
|
</el-anchor-link>
|
||||||
</template>
|
</template>
|
||||||
</el-anchor-link>
|
</el-anchor-link>
|
||||||
|
@ -13,10 +13,10 @@
|
|||||||
{{ locale['Anchor API'] }}
|
{{ locale['Anchor API'] }}
|
||||||
<template #sub-link>
|
<template #sub-link>
|
||||||
<el-anchor-link :href="`#${locale['anchor-attributes']}`">
|
<el-anchor-link :href="`#${locale['anchor-attributes']}`">
|
||||||
{{ locale['Anchor attributes'] }}
|
{{ locale['Anchor Attributes'] }}
|
||||||
</el-anchor-link>
|
</el-anchor-link>
|
||||||
<el-anchor-link :href="`#${locale['anchor-events']}`">
|
<el-anchor-link :href="`#${locale['anchor-events']}`">
|
||||||
{{ locale['Anchor events'] }}
|
{{ locale['Anchor Events'] }}
|
||||||
</el-anchor-link>
|
</el-anchor-link>
|
||||||
</template>
|
</template>
|
||||||
</el-anchor-link>
|
</el-anchor-link>
|
||||||
|
@ -13,10 +13,10 @@
|
|||||||
{{ locale['Anchor API'] }}
|
{{ locale['Anchor API'] }}
|
||||||
<template #sub-link>
|
<template #sub-link>
|
||||||
<el-anchor-link :href="`#${locale['anchor-attributes']}`">
|
<el-anchor-link :href="`#${locale['anchor-attributes']}`">
|
||||||
{{ locale['Anchor attributes'] }}
|
{{ locale['Anchor Attributes'] }}
|
||||||
</el-anchor-link>
|
</el-anchor-link>
|
||||||
<el-anchor-link :href="`#${locale['anchor-events']}`">
|
<el-anchor-link :href="`#${locale['anchor-events']}`">
|
||||||
{{ locale['Anchor events'] }}
|
{{ locale['Anchor Events'] }}
|
||||||
</el-anchor-link>
|
</el-anchor-link>
|
||||||
</template>
|
</template>
|
||||||
</el-anchor-link>
|
</el-anchor-link>
|
||||||
|
@ -13,10 +13,10 @@
|
|||||||
{{ locale['Anchor API'] }}
|
{{ locale['Anchor API'] }}
|
||||||
<template #sub-link>
|
<template #sub-link>
|
||||||
<el-anchor-link :href="`#${locale['anchor-attributes']}`">
|
<el-anchor-link :href="`#${locale['anchor-attributes']}`">
|
||||||
{{ locale['Anchor attributes'] }}
|
{{ locale['Anchor Attributes'] }}
|
||||||
</el-anchor-link>
|
</el-anchor-link>
|
||||||
<el-anchor-link :href="`#${locale['anchor-events']}`">
|
<el-anchor-link :href="`#${locale['anchor-events']}`">
|
||||||
{{ locale['Anchor events'] }}
|
{{ locale['Anchor Events'] }}
|
||||||
</el-anchor-link>
|
</el-anchor-link>
|
||||||
</template>
|
</template>
|
||||||
</el-anchor-link>
|
</el-anchor-link>
|
||||||
|
Loading…
Reference in New Issue
Block a user