Thursday, February 27, 2020

[Video Tutorial]: Detect unsaved changes while navigating to another page using guard in Angular


In this video, I talk about

1. how to implement dirty check in a page.

2. how to prevent the user to navigate to other page when unsaved changes in current page or form.

3. how to implement the above behavior using angular guard with CanDeactivate.

4. how to ask confirmation from user before navigating to other page.




No comments: