docs(@vant/use): add vuepress
This commit is contained in:
+6
-6
@@ -40,12 +40,12 @@ function useScrollParent(element: Ref<Element>): Ref<Element>;
|
||||
|
||||
## 参数
|
||||
|
||||
| 参数 | 说明 | 类型 | 默认值 |
|
||||
| ------- | -------- | -------------- | ------ |
|
||||
| element | 当前元素 | _Ref<Element>_ | - |
|
||||
| 参数 | 说明 | 类型 | 默认值 |
|
||||
| ------- | -------- | --------------- | ------ |
|
||||
| element | 当前元素 | _Ref\<Element>_ | - |
|
||||
|
||||
## 返回值
|
||||
|
||||
| 参数 | 说明 | 类型 | 默认值 |
|
||||
| ------------ | ------------------ | -------------- | ------ |
|
||||
| scrollParent | 最近的可滚动父元素 | _Ref<Element>_ | - |
|
||||
| 参数 | 说明 | 类型 | 默认值 |
|
||||
| ------------ | ------------------ | --------------- | ------ |
|
||||
| scrollParent | 最近的可滚动父元素 | _Ref\<Element>_ | - |
|
||||
Reference in New Issue
Block a user