element-plus/docs/examples/pagination/small-pagination.vue
yang a8a2298a6d
feat(pagination) : add size prop (#16858)
* fix(components): [table]

closed #11023

* fix(components): add component prop 'size' and related style supplement

BREAKING CHANGE :
size

closed #16830

* Update component documentation

* Update documentation and tests

* Optimized using useFormSize

* Keep the 'small' api for now

* Eliminate unwanted code

* Eliminate the impact of errors

* Remove 'ref'

* Update docs/examples/pagination/more-elements.vue

Co-authored-by: qiang <qw13131wang@gmail.com>

* Modify documents and declarations

* Eliminate uselessness

* Update packages/components/pagination/src/pagination.ts

Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>

* Update docs/en-US/component/pagination.md

Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>

* Update packages/components/pagination/src/pagination.ts

Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>

* Adjust public access

* pass Lint

* Modify attribute acquisition

* change the source of 'size'

* remove `pagination-font-size-large`

* Lift response

* Update packages/theme-chalk/src/common/var.scss

Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>

* Update pagination.ts

* Update docs/examples/pagination/more-elements.vue

---------

Co-authored-by: yang <29636098325@qq.com>
Co-authored-by: qiang <qw13131wang@gmail.com>
Co-authored-by: kooriookami <38392315+kooriookami@users.noreply.github.com>
Co-authored-by: btea <2356281422@qq.com>
2024-06-21 11:29:51 +08:00

11 lines
213 B
Vue

<template>
<el-pagination size="small" layout="prev, pager, next" :total="50" />
<el-pagination
size="small"
background
layout="prev, pager, next"
:total="50"
class="mt-4"
/>
</template>