You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(autoHide): whether to auto hide the pagination component (#105)
* feat(autoHide): whether to auto hide the pagination component
autoHide is true and pageSizeOptions [0]> total does not display pagination
update the doc and demo
* feat(autoHide): whether to auto hide the pagination component
判断pageSizeOptions最小值
Copy file name to clipboardExpand all lines: devui/pagination/doc/api-en.md
+2-1
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,8 @@ In the page:
37
37
| lite |`boolean`| false | Optional. Specifies Whether to switch to the simplified mode. |[Simplified mode](demo#minimalist-model)|
38
38
| showPageSelector |`boolean`| true | Optional. Whether to display the page number drop-down list in simplified mode. |[Simplified mode](demo#minimalist-model)|
39
39
| haveConfigMenu |`boolean`| false | Optional. Whether to display the configuration in simplified mode |[Simplified mode](demo#minimalist-model)|
40
-
| autoFixPageIndex | `boolean` | true | Optional. Indicates whether to automatically correct the page number when the page size is changed. If the pageIndex is processed in the `pageSizeChange` event, you are advised to set the value to `false` | [Simplified Mode](demo#minimalist-model) |.
40
+
| autoFixPageIndex |`boolean`| true | Optional. Indicates whether to automatically correct the page number when the page size is changed. If the pageIndex is processed in the `pageSizeChange` event, you are advised to set the value to `false`|[Simplified Mode](demo#minimalist-model)|
41
+
| autoHide | `boolean` | false | Optional, whether to hide automatically, autoHide is true minimum value of pageSizeOptions > total do not show pagination | [Simplified Mode](demo#minimalist-model) |.
0 commit comments