mirror of
https://github.com/youzan/vant.git
synced 2026-04-06 02:00:43 +08:00
[Doc] use ts-style type
This commit is contained in:
@@ -63,16 +63,16 @@ export default {
|
||||
| Attribute | Description | Type | Default |
|
||||
|------|------|------|------|
|
||||
| index-list | Index List | `Array` | `A-Z` |
|
||||
| z-index | z-index | `Number` | `1` |
|
||||
| sticky | Whether to enable anchor sticky top | `Boolean` | `true` |
|
||||
| sticky-offset-top | Anchor offset top when sticky | `Number` | `0` |
|
||||
| highlight-color | Index character highlight color | `String` | `#07c160` | - |
|
||||
| z-index | z-index | `number` | `1` |
|
||||
| sticky | Whether to enable anchor sticky top | `boolean` | `true` |
|
||||
| sticky-offset-top | Anchor offset top when sticky | `number` | `0` |
|
||||
| highlight-color | Index character highlight color | `string` | `#07c160` | - |
|
||||
|
||||
### IndexAnchor Props
|
||||
|
||||
| Attribute | Description | Type | Default |
|
||||
|------|------|------|------|
|
||||
| index | Index | `String | Number` | - |
|
||||
| index | Index | `string | number` | - |
|
||||
|
||||
### IndexBar Events
|
||||
|
||||
|
||||
@@ -67,16 +67,16 @@ export default {
|
||||
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|
||||
|------|------|------|------|------|
|
||||
| index-list | 索引字符列表 | `Array` | `A-Z` | - |
|
||||
| z-index | z-index 层级 | `Number` | `1` | - |
|
||||
| sticky | 是否开启锚点自动吸顶 | `Boolean` | `true` | - |
|
||||
| sticky-offset-top | 锚点自动吸顶时与顶部的距离 | `Number` | `0` | 2.0.7 |
|
||||
| highlight-color | 索引字符高亮颜色 | `String` | `#07c160` | - |
|
||||
| z-index | z-index 层级 | `number` | `1` | - |
|
||||
| sticky | 是否开启锚点自动吸顶 | `boolean` | `true` | - |
|
||||
| sticky-offset-top | 锚点自动吸顶时与顶部的距离 | `number` | `0` | 2.0.7 |
|
||||
| highlight-color | 索引字符高亮颜色 | `string` | `#07c160` | - |
|
||||
|
||||
### IndexAnchor Props
|
||||
|
||||
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|
||||
|------|------|------|------|------|
|
||||
| index | 索引字符 | `String | Number` | - | - |
|
||||
| index | 索引字符 | `string | number` | - | - |
|
||||
|
||||
### IndexBar Events
|
||||
|
||||
|
||||
Reference in New Issue
Block a user