Interface: AntDesignVueTablePaginationParams
特定于 Ant Design Vue 的 TableHelper 的分页参数
Hierarchy
TablePaginationConfig↳
AntDesignVueTablePaginationParams
Properties
buildOptionText
Optional buildOptionText: (opt: { value: any }) => any
Type declaration
(opt): any
Parameters
| Name | Type |
|---|---|
opt | Object |
opt.value | any |
Returns
any
Inherited from
TablePaginationConfig.buildOptionText
Defined in
node_modules/ant-design-vue/lib/pagination/Pagination.d.ts:21
class
Optional class: string
Inherited from
TablePaginationConfig.class
Defined in
node_modules/ant-design-vue/lib/table/interface.d.ts:146
current
Optional current: number
Inherited from
TablePaginationConfig.current
Defined in
node_modules/ant-design-vue/lib/pagination/Pagination.d.ts:9
defaultCurrent
Optional defaultCurrent: number
Inherited from
TablePaginationConfig.defaultCurrent
Defined in
node_modules/ant-design-vue/lib/pagination/Pagination.d.ts:4
defaultPageSize
Optional defaultPageSize: number
Inherited from
TablePaginationConfig.defaultPageSize
Defined in
node_modules/ant-design-vue/lib/pagination/Pagination.d.ts:10
disabled
Optional disabled: boolean
Inherited from
TablePaginationConfig.disabled
Defined in
node_modules/ant-design-vue/lib/pagination/Pagination.d.ts:5
hideOnSinglePage
Optional hideOnSinglePage: boolean
Inherited from
TablePaginationConfig.hideOnSinglePage
Defined in
node_modules/ant-design-vue/lib/pagination/Pagination.d.ts:12
itemRender
Optional itemRender: (opt: { originalElement: any ; page: number ; type: "page" | "prev" | "next" | "jump-prev" | "jump-next" }) => any
Type declaration
(opt): any
Parameters
| Name | Type |
|---|---|
opt | Object |
opt.originalElement | any |
opt.page | number |
opt.type | "page" | "prev" | "next" | "jump-prev" | "jump-next" |
Returns
any
Inherited from
TablePaginationConfig.itemRender
Defined in
node_modules/ant-design-vue/lib/pagination/Pagination.d.ts:43
locale
Optional locale: Record<string, any>
Inherited from
TablePaginationConfig.locale
Defined in
node_modules/ant-design-vue/lib/pagination/Pagination.d.ts:38
onChange
Optional onChange: (page: number, pageSize: number) => void
Type declaration
(page, pageSize): void
Parameters
| Name | Type |
|---|---|
page | number |
pageSize | number |
Returns
void
Inherited from
TablePaginationConfig.onChange
Defined in
node_modules/ant-design-vue/lib/pagination/Pagination.d.ts:54
onShowSizeChange
Optional onShowSizeChange: (current: number, size: number) => void
Type declaration
(current, size): void
Parameters
| Name | Type |
|---|---|
current | number |
size | number |
Returns
void
Inherited from
TablePaginationConfig.onShowSizeChange
Defined in
node_modules/ant-design-vue/lib/pagination/Pagination.d.ts:55
onUpdate:current
Optional onUpdate:current: (current: number) => void
Type declaration
(current): void
Parameters
| Name | Type |
|---|---|
current | number |
Returns
void
Inherited from
TablePaginationConfig.onUpdate:current
Defined in
node_modules/ant-design-vue/lib/pagination/Pagination.d.ts:56
onUpdate:pageSize
Optional onUpdate:pageSize: (size: number) => void
Type declaration
(size): void
Parameters
| Name | Type |
|---|---|
size | number |
Returns
void
Inherited from
TablePaginationConfig.onUpdate:pageSize
Defined in
node_modules/ant-design-vue/lib/pagination/Pagination.d.ts:57
pageSize
Optional pageSize: number
Inherited from
TablePaginationConfig.pageSize
Defined in
node_modules/ant-design-vue/lib/pagination/Pagination.d.ts:11
pageSizeOptions
pageSizeOptions: string[]
pageSize 要使用 string 类型, 否则会导致 Ant Design Vue 的分页组件无法正常工作.
Overrides
TablePaginationConfig.pageSizeOptions
Defined in
dist/src/components/n-table/ant-design-vue-table-helper.d.ts:37
position
Optional position: TablePaginationPosition[]
Inherited from
TablePaginationConfig.position
Defined in
node_modules/ant-design-vue/lib/table/interface.d.ts:145
prefixCls
Optional prefixCls: string
Inherited from
TablePaginationConfig.prefixCls
Defined in
node_modules/ant-design-vue/lib/pagination/Pagination.d.ts:39
responsive
Optional responsive: boolean
Inherited from
TablePaginationConfig.responsive
Defined in
node_modules/ant-design-vue/lib/pagination/Pagination.d.ts:49
role
Optional role: string
Inherited from
TablePaginationConfig.role
Defined in
node_modules/ant-design-vue/lib/pagination/Pagination.d.ts:48
selectComponentClass
Optional selectComponentClass: string
Inherited from
TablePaginationConfig.selectComponentClass
Defined in
node_modules/ant-design-vue/lib/pagination/Pagination.d.ts:42
selectPrefixCls
Optional selectPrefixCls: string
Inherited from
TablePaginationConfig.selectPrefixCls
Defined in
node_modules/ant-design-vue/lib/pagination/Pagination.d.ts:40
showLessItems
showLessItems: boolean
Overrides
TablePaginationConfig.showLessItems
Defined in
dist/src/components/n-table/ant-design-vue-table-helper.d.ts:40
showQuickJumper
Optional showQuickJumper: boolean | { goButton?: any }
Inherited from
TablePaginationConfig.showQuickJumper
Defined in
node_modules/ant-design-vue/lib/pagination/Pagination.d.ts:24
showSizeChanger
showSizeChanger: boolean
Overrides
TablePaginationConfig.showSizeChanger
Defined in
dist/src/components/n-table/ant-design-vue-table-helper.d.ts:38
showTotal
showTotal: (total: number, range: [number, number]) => string
Type declaration
(total, range): string
Parameters
| Name | Type |
|---|---|
total | number |
range | [number, number] |
Returns
string
Overrides
TablePaginationConfig.showTotal
Defined in
dist/src/components/n-table/ant-design-vue-table-helper.d.ts:39
simple
Optional simple: boolean
Inherited from
TablePaginationConfig.simple
Defined in
node_modules/ant-design-vue/lib/pagination/Pagination.d.ts:34
size
Optional size: "default" | "small"
Inherited from
TablePaginationConfig.size
Defined in
node_modules/ant-design-vue/lib/pagination/Pagination.d.ts:33
style
Optional style: CSSProperties
Inherited from
TablePaginationConfig.style
Defined in
node_modules/ant-design-vue/lib/table/interface.d.ts:147
total
total: number
Overrides
TablePaginationConfig.total
Defined in
dist/src/components/n-table/ant-design-vue-table-helper.d.ts:33
totalBoundaryShowSizeChanger
Optional totalBoundaryShowSizeChanger: number
Inherited from
TablePaginationConfig.totalBoundaryShowSizeChanger
Defined in
node_modules/ant-design-vue/lib/pagination/Pagination.d.ts:41