# ClPullToRefresh PullToRefresh

> PullToRefresh 组件

- **标签名**: `<cl-pull-to-refresh>`
- **引入**: `import { ClPullToRefresh } from '@cldemo/library'`

## Props

| 参数 | 类型 | 默认值 | 必填 | 说明 |
|------|------|--------|------|------|
| className | `String` | `` | 否 |  |
| disabled | `Boolean` | `` | 否 |  |
| threshold | `Number` | `60` | 否 |  |
| list | `any[]` | `undefined` | 否 |  |
| minItemSize | `Number` | `60` | 否 |  |
| sizeDependencies | `Function` | `undefined` | 否 |  |
| finished | `Boolean` | `` | 否 |  |
| loading | `Boolean` | `` | 否 |  |
| pullIcon | `String` | `'ptr-icon-arrow'` | 否 |  |
| loadingIcon | `String` | `'ptr-icon-spinner'` | 否 |  |
| loadingText | `String` | `'加载中...'` | 否 |  |
| finishedText | `String` | `'没有更多了'` | 否 |  |

## Slots

| 名称 | 说明 |
|------|------|
| indicator | indicator 插槽 |
| item | item 插槽 |
| loadMore | loadMore 插槽 |
| finished | finished 插槽 |
| default | 默认插槽 |

## Events

| 事件名 | 说明 |
|--------|------|
| refresh |  |
| loadMore |  |

## 方法

| 方法 | 说明 |
|------|------|
| finishRefresh() |  |

## 基础用法

```vue
<cl-pull-to-refresh></cl-pull-to-refresh>
```
