> ## Documentation Index
> Fetch the complete documentation index at: https://help.dingtalk.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Pagination 翻页器

> Pagination 翻页器组件文档，介绍分页参数与切换事件配置，配合表格等组件实现大数据量内容的分页加载。

## 何时使用

* 在有大量内容展现需要进行分页加载处理的时候；

## 组件示例

<iframe src="https://www.aliwork.com/developer/pagination-v2?isRenderNav=false" width="100%" height="480" frameBorder="0" />

## 组件属性

| 属性                 | 说明                                         | 类型                                                             | 默认值         |
| ------------------ | ------------------------------------------ | -------------------------------------------------------------- | ----------- |
| `current`          | 当前页码                                       | `number`                                                       | `1`         |
| `hideOnlyOnePage`  | 当分页数为 1 时，是否隐藏分页器                          | `boolean`                                                      | `false`     |
| `onChange`         | 当页码改变时                                     | `(currentPagination: number) => void`                          | -           |
| `onPageSizeChange` | 当每页数量改变时                                   | `(pageSize: number) => void`                                   | -           |
| `pageSize`         | 每页展示条数                                     | `number`                                                       | `10`        |
| `pageSizeList`     | 每页显示选择器可选值                                 | `string`                                                       | `'5,10,20'` |
| `pageSizePosition` | 每页显示选择器在组件中的位置                             | `'start' \| 'end'`                                             | `'end'`     |
| `pageSizeSelector` | 每页显示选择器类型                                  | `false \| 'filter' \| 'dropdown'`                              | `false`     |
| `shape`            | 前进后退按钮样式                                   | `'normal' \| 'arrow-only' \| 'arrow-prev-only' \| 'no-border'` | `'normal'`  |
| `showJump`         | 显示跳转输入框与按钮，当**type**为normal时，且在页码数超过5页后起作用 | `boolean`                                                      | `true`      |
| `size`             | 分页尺寸                                       | `'small' \| 'medium' \| 'large'`                               | `'medium'`  |
| `total`            | 总记录数                                       | `number`                                                       | -           |
| `type`             | 分页类型                                       | `'normal' \| 'simple' \| 'mini'`                               | `'normal'`  |
