-
Notifications
You must be signed in to change notification settings - Fork 1
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
Pagination of cms-loop #126
Comments
Thank you for filing this issue! As your proposal, we should implement this feature. But we need to consider the specification for it. 🤔 |
Something like this would be nice.
|
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry It's my mistake. I write the wrong spec here. an above comment is #123. |
Not a suggestion, but a question. |
Thanks @qst-exe . It's nice question. In above specification, there are not exist for specifying the pagination size. How do we have the
|
Looks great! |
Don't we need the id for loop?? <ul>
<li cms-loop cms-content-type="feedback">
<h1>{%= feedback_[フィールドID1] %}</h1>
<p>{%= feedback_[フィールドID2] %}</p>
<img data-src="{%= feedback_[フィールドID3] %}">
</li>
</ul>
<Pagination></Pagination>
=========
<!-- The <Pagination> component -->
<ul>
<li cms-pagination-loop>
{%= #pagination_no %}
{%= #pagination_total %}
{%= #pagination_link %}
{%= #pagination_current %}
</li>
</ul> I think we need id thing to connect Paginnation and Loop 🤔 |
This comment was marked as outdated.
This comment was marked as outdated.
Can we also use |
Regarding attributes passed to
So, I propose additional attributes.
の2つです。 以下のような用例で草案の内容だと表現できないと思いました。
イメージとしてはMUI - Pagination ranges が参考になるかと思います |
This PR will support pagination generating which relating with #126. This PR support the following features: --------- Co-authored-by: qst-exe <[email protected]>
Is your feature request related to a problem? Please describe.
I would like best practices in creating pagination with pagination like below
The current spear only has the next button and the previous button, and even if you try to implement a page number button, it is difficult to know the total number of contents unless you use the API.
Pattern
Describe the solution you'd like
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: