ant-design/components/pagination/demo/jump.md
2017-01-19 15:22:53 +08:00

374 B

order title
3
zh-CN en-US
跳转 Jumper

zh-CN

快速跳转到某一页。

en-US

Jump to a page directly.

import { Pagination } from 'antd';

function onChange(pageNumber) {
  console.log('Page: ', pageNumber);
}

ReactDOM.render(
  <Pagination showQuickJumper defaultCurrent={2} total={500} onChange={onChange} />,
  mountNode
);