The following api https://developer.mozilla.org/en-US/docs/Web/API/History_API is not available in Corvid. I have a dynamic page that updates a table, was hoping to add the different combinations to their history so they can use the back button to scroll through old results. But looks like I don’t have access to it. Alternatives?
Hello,
You might be able to use wix-storage.session to retrieve the dynamic URLs of the page a visitor previously visited and create your own custom back buttons on the site.
I’ve located a pretty helpful forum post you can use as reference:
https://www.wix.com/corvid/forum/tips-tutorials-examples/example-back-button
Also, check out this article on how to create previous and next buttons for dynamic pages:
https://support.wix.com/en/article/corvid-tutorial-creating-previous-and-next-buttons-for-a-dynamic-item-page-with-code
Feel free to add the history API to our wishlist to request this feature.
Hope this was helpful!
Best regards,
Miguel