docs(@vant/use): adjust strcut

This commit is contained in:
chenjiahan
2020-10-04 19:46:14 +08:00
parent ca860fda5f
commit 659ccc7a81
4 changed files with 18 additions and 10 deletions
@@ -32,19 +32,21 @@ export default {
};
```
## 类型定义
## API
### 类型定义
```ts
function useScrollParent(element: Ref<Element>): Ref<Element>;
```
## 参数
### 参数
| 参数 | 说明 | 类型 | 默认值 |
| ------- | -------- | --------------- | ------ |
| element | 当前元素 | _Ref\<Element>_ | - |
## 返回值
### 返回值
| 参数 | 说明 | 类型 | 默认值 |
| ------------ | ------------------ | --------------- | ------ |