Does the multi-window layout of electron similar to Wechat's developer tools use sub-windows or single-window instances to nest iframe?

clipboard.png

question:

is not sure whether to layout through a child window
or a main window. Child windows are implemented indirectly using html"s iframe. Do not use child = new BrowserWindow (options)

remarks:
1, still looking at the official API.
2. When I first saw the child window, I tried it. It is not very good to control the positioning of the child window. (front-end development: using css to control iframe location in html is not a problem.)

Jan.08,2022

can be implemented in one window

Menu