For a CanDeactivate guard, which method parameter allows you to access the current instance of the component being deactivated?

  • component
  • componentInstance
  • currentComponent
  • instance
In a CanDeactivate guard, the componentInstance parameter allows you to access the current instance of the component being deactivated. You can use this parameter to interact with the component and make decisions based on its state.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *