EbsRouter.registerHookOnRouteExit

(FintechOS Studio 20.1.3 and later)

Executes a callback function when the route changes.

This function is useful for light-weight tasks like cleaning the session storage or other task that are isolated and asynchronous.

Syntax

Copy
EbsRouter.registerHookOnRouteExit(callback: Function): void;
 
Property Type Description
callback Function Callback function to run when the route changes.