Fires when the
window unloads. The unload event is inevitable. On this event, the frontend application can save its state and release resource.
Saving the state and releasing any resources must be a synchronous call. Any asynchronous calls invoked after emitting this event might be ignored.
Called when the
window is about to
unload its resources.
At this point, the
document is still visible and the
event will be canceled if the return value of this method is
Opens a new window and loads the content from the given URL. In a browser, opening a new Theia tab or open a link is the same thing. But in Electron, we want to open links in a browser, not in Electron.