From fdb4ebbee2960a0e438b1dcf6172234e57fb8749 Mon Sep 17 00:00:00 2001 From: Yuwei Ba Date: Mon, 13 Jul 2015 17:51:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20API?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/pagination/index.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/components/pagination/index.md b/components/pagination/index.md index 4af965c7f3..a328e2af94 100644 --- a/components/pagination/index.md +++ b/components/pagination/index.md @@ -11,3 +11,18 @@ - 当加载/渲染所有数据将花费很多时间时; - 可切换页码浏览数据。 + +## API + +### Pagination + +| 参数 | 说明 | 类型 | 默认值 | +|-----------------|--------------------------------|----------|----------------| +| current | 当前页数 | Number | 1 | +| total | 数据总数 | Number | 0 | +| pageSize | 每页条数 | Number | 10 | +| onChange | 页码改变的回调 | Function | noop | +| showSizeChanger | 是否可以改变 pageSize | Bool | false | +| showQuickJump | 是否可以快速跳转至某页 | Bool | false | +| className | 当为「mini」时,是小尺寸分页 | String | ant-pagination | +| simple | 当添加该属性时,显示未简单分页 | Object | 无 |