-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor Pagination component #567
Labels
refactor
Refactor old code
Comments
Lydanne
added a commit
to hug-sun-1/element3
that referenced
this issue
Feb 28, 2021
This was referenced Feb 28, 2021
Lydanne
added a commit
to hug-sun-1/element3
that referenced
this issue
Mar 1, 2021
This was referenced Mar 4, 2021
Merged
解决了 #560 的问题 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Target
Tasking
layout
实现显示 total\pager\next\prevcurrent-page
page-count
页码的显示total
page-size
自动推算页码hide-on-single-page
实现当只有一页的时候自动隐藏页码currentPage >= 1 && currentPage <=pageCount
的时候才可点击prev和nextpageCount > pagerCount
的时候实现折叠layout
next\prev\pager 实现页码变更currentPage
发生变化后触发current-change
事件pageSize
发生变化后触发size-change
事件prev-click
事件next-click
事件layout
sizes 实现下拉选择框page-sizes
实现对下拉选择框控制popper-class
实现下拉条目的样式控制layout
为 slot后, 基于#default
自定义插槽layout
为 next 后,基于 next-text 实现将下一页图标改为文字layout
为 prev 后,基于 prev-text 实现将上一页图标改为文字layout
-> 实现自定义布局对齐disabled
实现组件禁用layout
jumper 实现页码跳转功能small
实现缩小整个页码组件background
实现对layout
pager 背景变更The text was updated successfully, but these errors were encountered: