
committed by
Matias Niemelä

parent
78052e4984
commit
706ba38498
@ -69,10 +69,12 @@ import {UrlTree} from '../url_tree';
|
||||
* ```
|
||||
*
|
||||
* You can tell the directive to how to handle queryParams, available options are:
|
||||
* - 'merge' merge the queryParams into the current queryParams
|
||||
* - 'preserve' preserve the current queryParams
|
||||
* - default / '' use the queryParams only
|
||||
* same options for {@link NavigationExtras#queryParamsHandling}
|
||||
* - `'merge'`: merge the queryParams into the current queryParams
|
||||
* - `'preserve'`: preserve the current queryParams
|
||||
* - default/`''`: use the queryParams only
|
||||
*
|
||||
* Same options for {@link NavigationExtras#queryParamsHandling
|
||||
* NavigationExtras#queryParamsHandling}.
|
||||
*
|
||||
* ```
|
||||
* <a [routerLink]="['/user/bob']" [queryParams]="{debug: true}" queryParamsHandling="merge">
|
||||
@ -87,9 +89,9 @@ import {UrlTree} from '../url_tree';
|
||||
* Then the following link `<a [routerLink]="['/user/jim']">Jim</a>` will generate the link
|
||||
* `/user/(jim//aux:team)`.
|
||||
*
|
||||
* @ngModule RouterModule
|
||||
* See {@link Router#createUrlTree createUrlTree} for more information.
|
||||
*
|
||||
* See {@link Router#createUrlTree} for more information.
|
||||
* @ngModule RouterModule
|
||||
*
|
||||
* @stable
|
||||
*/
|
||||
|
Reference in New Issue
Block a user