I'm trying to navigate to an internal page using [routerLink]
and target="_blank"
without having the entire app reload.
I can get the page to load in another tab but the entire application reloads.
HTML:
<a [routerLink]="getRouterLink(parm1,parm2)" target="_blank">
TypeScript:
public getRouterLink = function(parm1: string , parm2: string ) : any[] {
let link : any[] = ['/pages/myPage', {}];
let params = {};
params['parm1'] = parm1;
params['parm2'] = parm2;
link[1] = params;
return link;
};
Is there a way to get this to navigate to the new page without reloading the app?