From 0365722f8549ee93918be99da1b9f901cf0b2c8d Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Fri, 13 Mar 2020 01:05:20 +0100 Subject: API documentation for KVision 3.5.2 --- .../-browser-view/index.html | 145 ++++----------------- 1 file changed, 23 insertions(+), 122 deletions(-) (limited to 'api/pl.treksoft.kvision.electron/-browser-view/index.html') diff --git a/api/pl.treksoft.kvision.electron/-browser-view/index.html b/api/pl.treksoft.kvision.electron/-browser-view/index.html index ce68e903..2b8a71ca 100644 --- a/api/pl.treksoft.kvision.electron/-browser-view/index.html +++ b/api/pl.treksoft.kvision.electron/-browser-view/index.html @@ -8,13 +8,14 @@ kvision / pl.treksoft.kvision.electron / BrowserView

BrowserView

-open external class BrowserView : EventEmitter +(js) open class BrowserView : EventEmitter

Constructors

@@ -26,14 +27,16 @@ @@ -45,176 +48,74 @@
-

<init>

+(js) +

<init>

BrowserView(options: BrowserViewConstructorOptions? = definedExternally)
-

id

+(js) +

id

open var id: Number
-

webContents

+(js) +

webContents

open var webContents: WebContents
-

destroy

+(js) +

destroy

open fun destroy(): Unit
-

isDestroyed

+(js) +

isDestroyed

open fun isDestroyed(): Boolean
-

setAutoResize

+(js) +

setAutoResize

open fun setAutoResize(options: AutoResizeOptions): Unit
-

setBackgroundColor

+(js) +

setBackgroundColor

open fun setBackgroundColor(color: String): Unit
-

setBounds

+(js) +

setBounds

open fun setBounds(bounds: Rectangle): Unit
-

Inherited Functions

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

addListener

-
-open fun addListener(event: String, listener: Function<*>): EventEmitter
-

emit

-
-open fun emit(event: String, vararg args: Any): Boolean
-

eventNames

-
-open fun eventNames(): Array<String>
-

getMaxListeners

-
-open fun getMaxListeners(): Number
-

listenerCount

-
-open fun listenerCount(type: String): Number
-

listeners

-
-open fun listeners(event: String): Array<Function<*>>
-

on

-
-open fun on(event: String, listener: Function<*>): EventEmitter
-

once

-
-open fun once(event: String, listener: Function<*>): EventEmitter
-

prependListener

-
-open fun prependListener(event: String, listener: Function<*>): EventEmitter
-

prependOnceListener

-
-open fun prependOnceListener(event: String, listener: Function<*>): EventEmitter
-

removeAllListeners

-
-open fun removeAllListeners(event: String? = definedExternally): EventEmitter
-

removeListener

-
-open fun removeListener(event: String, listener: Function<*>): EventEmitter
-

setMaxListeners

-
-open fun setMaxListeners(n: Number): EventEmitter

Companion Object Functions

-

fromId

+(js) +

fromId

fun fromId(id: Number): BrowserView
-

fromWebContents

+(js) +

fromWebContents

fun fromWebContents(webContents: WebContents): BrowserView?
-

getAllViews

+(js) +

getAllViews

fun getAllViews(): Array<BrowserView>
-

Extension Functions

- - - - - - - -
-

createInstance

-
-fun <T> Any?.createInstance(vararg args: dynamic): T -

Helper function for creating JavaScript objects from dynamic constructors.

-
-- cgit