![]() ![]() Event: 'did-start-loading' Ĭorresponds to the points in time when the spinner of the tab started spinning. Event: 'did-frame-finish-load' Įmitted when a frame has done navigation. This event is like did-fail-load but emitted when the load was cancelled BROWSERWINDOW ELECTRON API FULLThe full list of error codes and their meaning is available here. This event is like did-finish-load but emitted when the load failed. Spinning, and the onload event was dispatched. Instance Events Event: 'did-finish-load' Įmitted when the navigation is done, i.e. It is only available as a return value of other methods in the Electron API. This class is not exported from the 'electron' module. Render and control the contents of a BrowserWindow instance. It can be useful to lookup a WebContents instance based on its assigned TargetID. When communicating with the Chrome DevTools Protocol, Undefined if there is no WebContents associated with the given TargetID. Returns WebContents | undefined - A WebContents instance with the given TargetID, or targetId string - The Chrome DevTools Protocol TargetID associated with the WebContents instance.Undefined if there is no WebContents associated with the given WebFrameMain. Returns WebContents | undefined - A WebContents instance with the given WebFrameMain, or Undefined if there is no WebContents associated with the given ID. Returns WebContents | undefined - A WebContents instance with the given ID, or Returns WebContents | null - The web contents that is focused in this application, otherwise ![]() This will contain web contentsįor all windows, webviews, opened devtools, and devtools extension background pages. Returns WebContents - An array of all WebContents instances. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |