docs(router): Fix typo of segment name and odd quote (#11409)
This commit is contained in:
parent
62af613741
commit
cc958c74ad
|
@ -411,10 +411,10 @@ export class Router {
|
|||
* ### Usage
|
||||
*
|
||||
* ```
|
||||
* router.navigate(['team', 33, 'team', '11], {relativeTo: route});
|
||||
* router.navigate(['team', 33, 'user', 11], {relativeTo: route});
|
||||
*
|
||||
* // Navigate without updating the URL
|
||||
* router.navigate(['team', 33, 'team', '11], {relativeTo: route, skipLocationChange: true });
|
||||
* router.navigate(['team', 33, 'user', 11], {relativeTo: route, skipLocationChange: true });
|
||||
* ```
|
||||
*
|
||||
* In opposite to `navigateByUrl`, `navigate` always takes a delta
|
||||
|
|
Loading…
Reference in New Issue