You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which @angular/* package(s) are relevant/related to the feature request?
router
Description
This feature proposes adding a new method called navigateToParent to the @angular/router package, allowing for easier navigation back from detail components with an option to specify the number of steps to navigate back.
As noted, this can be accomplished with existing APIs. If you would like shorthands or aliases, you can do so in your own application with helper methods (and note that in your example, you still need to tell the router which route you're navigating relative to).
Which @angular/* package(s) are relevant/related to the feature request?
router
Description
This feature proposes adding a new method called navigateToParent to the @angular/router package, allowing for easier navigation back from detail components with an option to specify the number of steps to navigate back.
Proposed solution
Current Usage:
New Usage:
Alternatives considered
None. This feature provides a cleaner and more intuitive way to navigate back without needing to inject ActivatedRoute.
or hardcoding the parent url.
The text was updated successfully, but these errors were encountered: