How to get browser back action with confirm message in Angular 10

前端 未结 0 680
无人共我
无人共我 2021-02-01 20:16

I want to handle browser\'s back button action with confirm message. If I click Yes, browser has to redirect to previous state and If I click No, need to stay in same state. Thi

相关标签:
回答
  • 消灭零回复
提交回复
热议问题