docs(IndexBar): fix repeated methods (#9182)
This commit is contained in:
@@ -91,13 +91,7 @@ export default {
|
||||
| select | Emitted when an index is selected | _index: number \| string_ |
|
||||
| change | Emitted when active index changed | _index: number \| string_ |
|
||||
|
||||
### IndexAnchor Slots
|
||||
|
||||
| Name | Description |
|
||||
| ------- | ------------------------------------- |
|
||||
| default | Anchor content, show index by default |
|
||||
|
||||
### Methods
|
||||
### IndexBar Methods
|
||||
|
||||
Use [ref](https://v3.vuejs.org/guide/component-template-refs.html) to get IndexBar instance and call instance methods.
|
||||
|
||||
@@ -105,6 +99,12 @@ Use [ref](https://v3.vuejs.org/guide/component-template-refs.html) to get IndexB
|
||||
| --- | --- | --- | --- |
|
||||
| scrollTo | scroll to target element | _index: number \| string_ | - |
|
||||
|
||||
### IndexAnchor Slots
|
||||
|
||||
| Name | Description |
|
||||
| ------- | ------------------------------------- |
|
||||
| default | Anchor content, show index by default |
|
||||
|
||||
### CSS Variables
|
||||
|
||||
The component provides the following CSS variables, which can be used to customize styles. Please refer to [ConfigProvider component](#/en-US/config-provider).
|
||||
|
||||
Reference in New Issue
Block a user