Hi! Is there any documentation on Divhunt’s SPA implementation? For example - where can I find out what events are fired on loading CMS items or navigating between pages?
I am looking to build a site that displays a masonry grid of items using masonry.js. I want it to display it on the main page only - so I need to destroy the masonry instance when I navigate to the individual item’s CMS page, and then reinstate it again when I go back to the main page.
I also need to trigger masonry initialisation after all CMS items have been loaded.
Ideally, I would listen to the items loaded event or page change events, but I couldn’t find any documentation on those.
Thanks!