ant-design/components/pagination/demo/jump.md
2015-07-13 01:05:25 +08:00

20 lines
301 B
Markdown

# 跳转
- order: 3
快速跳转到某一页
---
````jsx
var Pagination = antd.Pagination;
function onChange(page) {
console.log(page);
}
React.render(
<Pagination showQuickJumper={true} onChange={onChange} total={500} />,
document.getElementById('components-pagination-demo-jump'));
````