BrowserView

open external class BrowserView : BrowserView(source)

Constructors

Link copied to clipboard
constructor(options: BrowserViewConstructorOptions = definedExternally)

Properties

Link copied to clipboard
external var webContents: WebContents

A WebContents object owned by this view.

Functions

Link copied to clipboard
external fun getBounds(): Rectangle

The bounds of this BrowserView instance as Object.

Link copied to clipboard
external fun setAutoResize(options: AutoResizeOptions)
Link copied to clipboard
external fun setBackgroundColor(color: String)

Examples of valid color values:

Link copied to clipboard
external fun setBounds(bounds: Rectangle)

Resizes and moves the view to the supplied bounds relative to the window.