Glossary: Angular Beyond the Basics
CanDeactivateFn
Also written: canDeactivate
A guard that runs before the user leaves a route and gets the page's component. `unsavedChangesGuard` uses it to ask "Discard your changes?".
Glossary: Angular Beyond the Basics
Also written: canDeactivate
A guard that runs before the user leaves a route and gets the page's component. `unsavedChangesGuard` uses it to ask "Discard your changes?".