[new feature] IndexBar: add sticky-offset-top prop (#3791)

This commit is contained in:
neverland
2019-07-09 15:21:47 +08:00
committed by GitHub
parent 95c153dd67
commit 73cec3ac96
3 changed files with 19 additions and 3 deletions

View File

@@ -65,6 +65,7 @@ export 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` | - |
### IndexAnchor Props