You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I agree to follow the Code of Conduct that this project adheres to.
I have searched the issue tracker for a feature request that matches the one I want to file, without success.
Problem Description
I moved from BrowserWindow to a BaseWindow with one or more webContents (via WebContentsView). I'd like to know when each of the webContents are ready-to-show.
Sounds great! I don't have permission to assign the issue, and you don't need to be assigned to work on it. Just open a pull request with your changes and someone will look at it.
Preflight Checklist
Problem Description
I moved from
BrowserWindow
to aBaseWindow
with one or morewebContents
(viaWebContentsView
). I'd like to know when each of thewebContents
areready-to-show
.Proposed Solution
I propose this API:
Alternatives Considered
ready-to-show
on theBaseWindow
(see [Feature Request]:ready-to-show
event for BaseWindow #42291). — I think having it on thewebContents
makes more sense as aBaseWindow
can contain multiplewebContents
.did-finish-load
. — Workaround for now.Additional Information
ready-to-show
already seems to be available onwebContents
internally:electron/lib/browser/api/web-contents.ts
Line 827 in c41a28d
For some reason, the following doesn't work though:
The event also isn't documented.
The text was updated successfully, but these errors were encountered: