@tplc/wot
Version:
68 lines (67 loc) • 1.11 kB
TypeScript
export declare const paginationProps: {
/**
* 当前页
*/
modelValue: {
type: NumberConstructor
required: true
}
/**
* 总页数,如果有total,则优先使用total计算页数
*/
totalPage: {
type: NumberConstructor
default: number
}
/**
* 是否展示分页为Icon图标
*/
showIcon: {
type: BooleanConstructor
default: boolean
}
/**
* 是否展示总条数
*/
showMessage: {
type: BooleanConstructor
default: boolean
}
/**
* 总条数
*/
total: {
type: NumberConstructor
default: number
}
/**
* 每页条数
*/
pageSize: {
type: NumberConstructor
default: number
}
/**
* 上一页文本
*/
prevText: StringConstructor
/**
* 下一页文本
*/
nextText: StringConstructor
/**
* 总页数只有一页时是否隐藏
*/
hideIfOnePage: {
type: BooleanConstructor
default: boolean
}
customStyle: {
type: import('vue').PropType<string>
default: string
}
customClass: {
type: import('vue').PropType<string>
default: string
}
}