API
Functions
create()
Creates a new BrowserView.
Signature:
Parameters
Returns:
Promise<Ref>
Identifier for the newly created BrowserView.
getWebContents()
Retrieves a BrowserView's WebContents.
Signature:
Parameters
Returns:
Promise<Electron.WebContents>
Identifier for the BrowserView's WebContents.
setAutoResize()
Resizes the BrowserView when its parent BrowserWindow dimensions change.
Signature:
Parameters
Returns:
Promise<void>
setBounds()
Resizes and moves the BrowserView to the supplied bounds relative to the window.
Signature:
Parameters
Returns:
Promise<void>
Type Aliases
SetAutoResizeOptions
Signature: