tinro
tinro copied to clipboard
How can i catch the route change ?
If there are changes in the form page in the project, if the route is wanted to be changed or if the url path is wanted to be changed, I need to capture this within the page.
I can catch the change in the window with the 'beforeunload' method. (shutdown, manual url change, window or browser closing). But when I want to change page by clicking on the links I created with 'tinro', I can't catch 'beforeunload'. How can i solve this ?