Replies: 2 comments 1 reply
-
Check out our demo for filters, its essentially the same https://docs.webstudio.is/university/how-tos/using-filters-to-dynamically-display-content |
Beta Was this translation helpful? Give feedback.
-
Hi Oleg I watched the demo. I'm struggling to figure out how to update my GraphQL query after the data is loaded when a user clicks a button to show more results. Here is my Graph query: query ($offset: Int!) { I want the offset variable value to increment by 5 each time the user clicks a link so that on the page I've built the next 5 results show each time the link is clicked. Is this possible to do changing the limit or offset after the data has already been loaded? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
In a collection I show a list of items and in my GraphQL query I limit these to 5 items (ie. query { items (limit:5) { name, etc... }}).
I was wondering if below this list I could create a button and somehow update the GraphQL query when a user clicks on that button the next "x" number of results are displayed?
Beta Was this translation helpful? Give feedback.
All reactions