Check this web page: https://ueno.co/
- When you click on any link, an animation starts before the page is left.
- When the new page is loaded, a new reveal animation starts.
I know how to do the second part, with page load interactions. But is it possible to do the first part, which is interactions when leaving a page?