top of page
Display query results as a sliding window
Displays parts of a result set by moving a "window" up and down through the full result set.
The sliding window object contains the full result set (stored in slidingWindow.queryResults).
Don't use this with datasets. Just use wixData and do direct queries. Whatever comes back in the query is the full result set. This does not use paging. If you want all the data, you'll need to page through the results (next()) and then set the entire result set on the sliding window.
The sliding window stores the whole result set, but only returns the "active" window when get data() is called.

Scrolls the window up
Scrolls the window up by (num)
Shrinks the size of the window
Scroll to 7
Scrolls the window down
Scrolls the window down by (num)
Grows the size of the window
Grows the size of the window
Scrolls the window down by (num)
0
Apple
1
Banana
2
Carrot
3
Date
4
Eggplant
bottom of page