feat(Sticky): offset-top can be string

This commit is contained in:
陈嘉涵
2020-01-30 10:36:47 +08:00
parent 3cc99b3abe
commit 3c2afab6d8
3 changed files with 7 additions and 6 deletions
+2 -2
View File
@@ -66,9 +66,9 @@ export default {
| 参数 | 说明 | 类型 | 默认值 |
|------|------|------|------|
| offset-top | 吸顶时与顶部的距离,单位`px` | *number* | `0` |
| offset-top | 吸顶时与顶部的距离,单位`px` | *number \| string* | `0` |
| z-index | 吸顶时的 z-index | *number \| string* | `99` |
| container | 容器对应的 HTML 节点 | *HTMLElement* | - |
| container | 容器对应的 HTML 节点 | *Element* | - |
### Events