How can i open child window from angular?

1.3k views Asked by At

I am creating an angular application.

In that, I want to open the child window. and also want to do communication between parent and child browser.

1

There are 1 answers

1
Bansi29 On

Try to this:

window.open('url', '200', '200');

another way

<a [routerLink]="['/your-component']" target="_blank">

Open other component in new tab.