[Doc] detailed Array typing
This commit is contained in:
@@ -62,7 +62,7 @@ export default {
|
||||
|
||||
| Attribute | Description | Type | Default |
|
||||
|------|------|------|------|
|
||||
| index-list | Index List | `Array` | `A-Z` |
|
||||
| index-list | Index List | `string[] | number[]` | `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` |
|
||||
|
||||
@@ -66,7 +66,7 @@ export default {
|
||||
|
||||
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|
||||
|------|------|------|------|------|
|
||||
| index-list | 索引字符列表 | `Array` | `A-Z` | - |
|
||||
| index-list | 索引字符列表 | `string[] | number[]` | `A-Z` | - |
|
||||
| z-index | z-index 层级 | `number` | `1` | - |
|
||||
| sticky | 是否开启锚点自动吸顶 | `boolean` | `true` | - |
|
||||
| sticky-offset-top | 锚点自动吸顶时与顶部的距离 | `number` | `0` | 2.0.7 |
|
||||
|
||||
Reference in New Issue
Block a user