You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to abort route transition based on certain conditions , so i utilised onChange event , but it triggers only after URL change.
I can abort transition in that event, but the url hash is changed which is irrelevant of the current route.
Is there any way to block this behaviour ?
The text was updated successfully, but these errors were encountered:
the route cannot be used as the active router is registered in ROUTERS when it mounted (that means at the time you call route, the ROUTES is empty list); so instead you can use ev.router.routeTo(...).
I would like to abort route transition based on certain conditions , so i utilised onChange event , but it triggers only after URL change.
I can abort transition in that event, but the url hash is changed which is irrelevant of the current route.
Is there any way to block this behaviour ?
The text was updated successfully, but these errors were encountered: