mirror of
https://github.com/youzan/vant.git
synced 2025-10-16 08:00:34 +00:00
docs: type highlight (#4264)
This commit is contained in:
@@ -63,17 +63,17 @@ export default {
|
||||
|
||||
| Attribute | Description | Type | Default | Version |
|
||||
|------|------|------|------|------|
|
||||
| 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` | 2.0.7 |
|
||||
| highlight-color | Index character highlight color | `string` | `#07c160` | - | - |
|
||||
| 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` | 2.0.7 |
|
||||
| highlight-color | Index character highlight color | *string* | `#07c160` | - | - |
|
||||
|
||||
### IndexAnchor Props
|
||||
|
||||
| Attribute | Description | Type | Default | Version |
|
||||
|------|------|------|------|------|
|
||||
| index | Index | `string | number` | - | - |
|
||||
| index | Index | *string \| number* | - | - |
|
||||
|
||||
### IndexBar Events
|
||||
|
||||
|
Reference in New Issue
Block a user