docs(router): fix routerLink docs (#37997)
The current content for the routerLink commands input does not make it to aio. fixes #35414 PR Close #37997
This commit is contained in:
parent
9322b9a060
commit
4783a071f3
@ -173,8 +173,7 @@ export class RouterLink {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param commands An array of commands to pass to {@link Router#createUrlTree
|
* Commands to pass to {@link Router#createUrlTree Router#createUrlTree}.
|
||||||
* Router#createUrlTree}.
|
|
||||||
* - **array**: commands to pass to {@link Router#createUrlTree Router#createUrlTree}.
|
* - **array**: commands to pass to {@link Router#createUrlTree Router#createUrlTree}.
|
||||||
* - **string**: shorthand for array of commands with just the string, i.e. `['/route']`
|
* - **string**: shorthand for array of commands with just the string, i.e. `['/route']`
|
||||||
* - **null|undefined**: shorthand for an empty array of commands, i.e. `[]`
|
* - **null|undefined**: shorthand for an empty array of commands, i.e. `[]`
|
||||||
@ -306,8 +305,7 @@ export class RouterLinkWithHref implements OnChanges, OnDestroy {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param commands An array of commands to pass to {@link Router#createUrlTree
|
* Commands to pass to {@link Router#createUrlTree Router#createUrlTree}.
|
||||||
* Router#createUrlTree}.
|
|
||||||
* - **array**: commands to pass to {@link Router#createUrlTree Router#createUrlTree}.
|
* - **array**: commands to pass to {@link Router#createUrlTree Router#createUrlTree}.
|
||||||
* - **string**: shorthand for array of commands with just the string, i.e. `['/route']`
|
* - **string**: shorthand for array of commands with just the string, i.e. `['/route']`
|
||||||
* - **null|undefined**: shorthand for an empty array of commands, i.e. `[]`
|
* - **null|undefined**: shorthand for an empty array of commands, i.e. `[]`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user