Is there any way to access the parent window's window object from the child windows. I want to duplicate the content in the parent window to the child windows with a single remote connection for all windows.
Asked
Active
Viewed 1,941 times
2
-
did you set the `parent` property on the `BrowserWindow` class when creating the child window ? – 0.sh May 20 '19 at 12:23
-
yes. I did. But I didn't find a way to access clone the parent window. The application itself has a connection with a remote API which is updating real time. I want to clone the application windows without establishing multiple connections. – yashodha_h May 21 '19 at 05:48
-
1https://electronjs.org/docs/api/browser-window#wingetparentwindow – 0.sh May 21 '19 at 12:59