简体   繁体   中英

How can i bind data to child window opened from parent window in Angular 2?

There is a text box in my parent window. I am opening a new window with window.open(). In that window there is also a text box. I want to bind text boxes to each other with Angular 2 . How can i do it?

This is not supported. You can use use Window.postMessage() https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage to communicate between windows.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM