Process:
    This class is not exported from the 'electron' module. It is only available as a return value of other methods in the Electron API.

    The object is returned from window.open and provides limited functionality with the child window.

    The BrowserWindowProxy object has the following instance methods:

    win.blur()

    win.close()

    Forcefully closes the child window without calling its unload event.

    win.eval(code)

    • code string

    Evaluates the code in the child window.

    win.focus()

    Focuses the child window (brings the window to front).

    win.postMessage(message, targetOrigin)

    • message any

    Sends a message to the child window with the specified origin or * for no origin preference.

    In addition to these methods, the child window implements window.opener object with no properties and a single method.

    Instance Properties

    The BrowserWindowProxy object has the following instance properties:

    win.closed