I have an application which uses different tabs in a single page , like login page, listing and add new entry page etc. When I logout from the listing page it will navigate to login tab and an alert will show as ‘logout successfully’. The issue is that the alert message will show ahead of the navigation. Is there any way to confirm that navigation is done before the alert is showing.
@dancia Sorry for the delayed reply. Issue solved by using async-await usage in the js object. Thank You.