Merge branch '2.x' into dev
This commit is contained in:
@@ -102,6 +102,14 @@ export default {
|
||||
| ------- | -------------------------------- |
|
||||
| default | 锚点位置显示内容,默认为索引字符 |
|
||||
|
||||
### IndexBar 方法
|
||||
|
||||
通过 ref 可以获取到 IndexBar 实例并调用实例方法,详见[组件实例方法](#/zh-CN/advanced-usage#zu-jian-shi-li-fang-fa)。
|
||||
|
||||
| 方法名 | 说明 | 参数 | 返回值 |
|
||||
| ------------------ | -------------- | ------------------------- | ------ |
|
||||
| scrollTo `v2.12.2` | 滚动到指定锚点 | _index: number \| string_ | - |
|
||||
|
||||
### 样式变量
|
||||
|
||||
组件提供了下列 Less 变量,可用于自定义样式,使用方法请参考[主题定制](#/zh-CN/theme)。
|
||||
|
||||
Reference in New Issue
Block a user