Guest User

Untitled

a guest
May 22nd, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. <a class="icon-plus-details" [routerLink]="['/', linkDetail]" [queryParams]="{id: ownerId}"></a>
  2.  
  3. [queryParams]="{id: ownerId}"
  4.  
  5. import { ActivatedRoute, Router } from '@angular/router';
  6.  
  7. functionExample() {
  8. const id = this.routerParam.snapshot.queryParams['id'];
  9. }
Add Comment
Please, Sign In to add comment