diff --git a/docs/en-US/component/pagination.md b/docs/en-US/component/pagination.md index e2f092b1f5..8964ff908c 100644 --- a/docs/en-US/component/pagination.md +++ b/docs/en-US/component/pagination.md @@ -35,7 +35,7 @@ pagination/background-color Use small pagination in the case of limited space. -:::demo Just set the `small` attribute to `true` and the Pagination becomes smaller. +:::demo set size to change the `size`. Here is a demonstration of `small` pagination/small-pagination @@ -67,7 +67,8 @@ pagination/more-elements | Name | Description | Type | Default | | ----------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | ------------------------------------ | -| small | whether to use small pagination | ^[boolean] | false | +| small ^(deprecated) | whether to use small pagination | ^[boolean] | false | +| size ^(2.7.6) | pagination size | ^[enum]`'large'\| 'default'\| 'small'` | 'default' | | background | whether the buttons have a background color | ^[boolean] | false | | page-size / v-model:page-size | item count of each page | ^[number] | — | | default-page-size | default initial value of page size, not setting is the same as setting 10 | ^[number] | — | diff --git a/docs/examples/pagination/more-elements.vue b/docs/examples/pagination/more-elements.vue index ffcc97b00f..e4a8638fd5 100644 --- a/docs/examples/pagination/more-elements.vue +++ b/docs/examples/pagination/more-elements.vue @@ -1,8 +1,10 @@