docs: add version tip in en docs (#4262)

This commit is contained in:
neverland
2019-08-27 19:56:30 +08:00
committed by GitHub
parent 8ee0bef715
commit 959efb0ce6
88 changed files with 865 additions and 864 deletions

View File

@@ -61,19 +61,19 @@ export default {
### IndexBar Props
| Attribute | Description | Type | Default |
|------|------|------|------|
| 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` |
| highlight-color | Index character highlight color | `string` | `#07c160` | - |
| 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` | - | - |
### IndexAnchor Props
| Attribute | Description | Type | Default |
|------|------|------|------|
| index | Index | `string | number` | - |
| Attribute | Description | Type | Default | Version |
|------|------|------|------|------|
| index | Index | `string | number` | - | - |
### IndexBar Events