260
Views
2
Comments
Browser back button
Application Type
Reactive

I have single screen reactive application.

I want to able to click on browser back button .when we are on home

it should pop-up message information with 2 buttons ,Yes and No. 

when Yes clicked  i want to go out of application.

If No clicked stay in application.

Please help.

2024-03-15 07-22-55
Ashish Kumar Srivastava

Hi @Tousif Khan ,

In the requirement, Since the application is single screen application. its have a menu, sub-menu, su-sub-menu. According to menu selection data displayed.

on Browser back button click , we are traverse back. when we reached on home, if we  click browser back button, a message will show with 2 button Yes and No.

Yes and No. when Yes i want to go out of application.

If No stay in application.


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.