ElectronWebContentsModule.fromFrame method
ElectronWebContentsModule › fromFrame
Unofficial
Looks up aWebContents instance based on a WebFrameMain. Signature:
fromFrame(frame: ElectronWebFrameMain): ElectronWebContents | undefinedParameters:
| Parameter | Type | Description |
|---|---|---|
| frame | ElectronWebFrameMain | The WebFrameMain to look up. |
Returns: ElectronWebContents | undefined — A WebContents instance with the given WebFrameMain, or undefined if there is no WebContents associated with the given WebFrameMain.