prev( )


Retrieves the previous page of search results.

The prev() function retrieves the previous page of search results.

The page size is defined by the limit() function, can be retrieved using the pageSize property, and navigating through pages is done with the prev() and next() functions.

If items are added or removed between calls to prev() the values returned may change.

Method Declaration
Copy
Request
This method does not take any parameters
Returns
Return Type:Promise<WixSearchResult>
Was this helpful?
Yes
No