showing results for - "angular open new tab from component"
Giorgio
09 Sep 2018
1In case someone runs into the same issue I ran:
2
3I ended using localstorage to temporarily store my object and access it from the other window.
4
5So the code ended up like:
6
7<a target="_blank" [routerLink]="['/details', item.name]" click="passObject(item.name)">
8passObject(i){
9    localStorage.setItem('i.name', JSON.stringify(i));
10}
11And in the details component:
12
13ngOnInit() {
14    this.item = JSON.parse(localStorage.getItem(param));
15}
16Another idea that I could try is implementing a message service
queries leading to this page
open on new tab when routing in angularopen link in new tab angularangular on click open in new tabon button click open new tab in angularopen new tab with url angularopwn link on new tab in angular8open link in new tab from controller angular jscan open angular app in new tabopen link in new tab from ts file angularangular 8 open route in new tabopen a new tab in angularangular open or navigate in new tabangular navigate on new tabopen site in new tab angularangular app routing open tab in a new taba href open new tab angularopen in new tab angular routerangular navigate to new tabcheck browser open new tab in angularangular 7 open new tab with htmlangular project open in new tabangular open tab with urlangular open url link in new tabopen 3ca 3e link in new tab angularopen new tab with route angularopen in a new tab angularangular link open in new tabangular open new tab on button clickangular launch a new tab with a urlhref to open in new tab angularangular link new tabopen in new tab when click in a link angularhow to open new tab angularangulour router open in new tabopen angular route in new tabangular open tab in new windowopen the link in new tab in angularhow to open new tab in typescript in angularangular open new tab programmatically iosangular 7 open in new tabangular router new tabopen in new tab angularangular open link in new tabopen new tab angular routera html open in new tab in angularopen in new tab with router angularopen url in new tab angularrouter link open new tab angularangular material tab to open in a new tab or windowopen window in new tab angularhow to open new tab angular 11angular js href new tabopen window in new tab angular 7angular 9 router open in new tabopen in new tab angular jsangular open route in new tabopen an html in new tab angularhow to open url in new tab in angularangular 8 open link in new tabopen new website on new tab in angularjshow to open url in new tab angularhow to open angular component in new tab using angular 8how to open route in new tab in angularopen on new tab bhen routing in angularopen a link in new tab angularangular router open in new tab from typescriptangular 24window open in new tabangular open new tab with deferen urlangular display component in new tabangular open link in new tab using routeropen new tab angularangular open a new tabopen a new tab not window in angularopen link in the new 5c tab angularrouter open new tab angularangular get window open new tabangular open link on new tabangular tab router open in new tabangular tag a open new tab at linkrouter angular open in new tabangular open page in new tabopen link in new tab in angularangular 9 open link in new tabopen tab angular 9window open in new tab in angularangular open in another tabangular 10 open link in new tabonclick open new tab angularangular open on new tab with routerhow to open page in a new tab angularopen new tab in angular with queryclick open new tab angularangularjs href new tabbutton open in new tab angularangularjs window open new tabwho to open a url in new tab in angularopen url in new tab angularjshow to open new tab in chrome in angular routerangular app routing open tab in a new tab when selectedangular a open in new tabhow to open link in new tab angularcant open page in new tab angularopen linke in new tab angularhow to open a component in new tab in angular 6right click open new tab angularcreate a new tab window within angular applicationclick open in new tab angularhow to open new tab in angular 10angular open in new tablink open in new tab angularangular open tab route in new tabhow to open new tab in chrome in angular rroutingopen component in new tab angularangular open subcompoenet in new tabangular open html file in new tabangular open new tab programmaticallyangularjs open new tab with urlopening new tab angular jsopen url in new tab in angularhow to open component in new tab in angularbutton click open new tab angularangular open link new tabangular open new tab in browserangular open new tab with urlhow to open a new tab on button click in angularopen a route in new tab angularhow to open tab on page route in angular 9open new tab angularjsopen link in new tab angular 8angular open url in new tabnew tab open in angularangular how to open link in new tabhow to open html new tab in angularangular open new tabangular click open new tabopen new tab angular 9 routeropen web link in new tab angular open a new tab angularusing router to open in new tab angular programmaticallyopen route in a new tab in angularopen new page with routing in new tab angularhow to open new tab in angularopen new tab anchor tag using angular8open tab in new window angular routeangularjs open new tabangular open window tabopen in new tab html angularopen component in new tab angular 11 exampleangular route open in new tabangular window open new tabopen new tab in link angularangular router open in new tabangular open new tab typescriptangular a tag open in new tabsometimes angular can open new tabhow to open in a new tab in angularopen link in a new tab angular9angular open new tab from componentangular navigate new tabopen new tab angular routeangular open in a new tabangular open a tab for each componentangular open routerlink in new tabangular link open another tabopen link to new tab angular typescriptangular tab with open link in new tab right clickhow to open a new tab with angular routeropen link in new tab html angular using windowangular new tabopwn new tab in angular8open link in a new tab angularright click open in new tab angularopen in new tab on click angularwith angular how to open a new tabopen angular elements in new tabopen link in new tab html angularhow to open new tab on button click in angularangular open on new tabhow to open alink on new tab in angularhow to open a new tab from code angularopen new tab in angularhow to open a url in new tab in angularopen link in new tab angularjsopen new tab with angularopen page in new tab angularhow to open page in new tab in angularhow to make angular page open in new tab without hrefangular detect open in new tabopen tab with new tab angularangular tab with right click open link in new tabangular navigate to new website open in new tabangular route to new tabhow to open any content in new tab in angular how to open angular route in new tabhow to nevigate to new tab in angularangular tab open in new tab alsoangular open new tab from component