kvision / pl.treksoft.kvision.electron / BrowserView

BrowserView

(js) open class BrowserView : EventEmitter

Constructors

(js)

<init>

BrowserView(options: BrowserViewConstructorOptions? = definedExternally)

Properties

(js)

id

open var id: Number
(js)

webContents

open var webContents: WebContents

Functions

(js)

destroy

open fun destroy(): Unit
(js)

isDestroyed

open fun isDestroyed(): Boolean
(js)

setAutoResize

open fun setAutoResize(options: AutoResizeOptions): Unit
(js)

setBackgroundColor

open fun setBackgroundColor(color: String): Unit
(js)

setBounds

open fun setBounds(bounds: Rectangle): Unit

Companion Object Functions

(js)

fromId

fun fromId(id: Number): BrowserView
(js)

fromWebContents

fun fromWebContents(webContents: WebContents): BrowserView?
(js)

getAllViews

fun getAllViews(): Array<BrowserView>