From eeb8fdf8f890daeed907a6d0591ea6fae8421860 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Wed, 6 Mar 2019 13:53:58 +0100 Subject: API documentation for KVision 0.0.28 --- .../-browser-view/-init-.html | 14 ++ .../-browser-view/destroy.html | 14 ++ .../-browser-view/from-id.html | 14 ++ .../-browser-view/from-web-contents.html | 14 ++ .../-browser-view/get-all-views.html | 14 ++ .../-browser-view/id.html | 14 ++ .../-browser-view/index.html | 220 +++++++++++++++++++++ .../-browser-view/is-destroyed.html | 14 ++ .../-browser-view/set-auto-resize.html | 14 ++ .../-browser-view/set-background-color.html | 14 ++ .../-browser-view/set-bounds.html | 14 ++ .../-browser-view/web-contents.html | 14 ++ 12 files changed, 374 insertions(+) create mode 100644 api/pl.treksoft.kvision.electron/-browser-view/-init-.html create mode 100644 api/pl.treksoft.kvision.electron/-browser-view/destroy.html create mode 100644 api/pl.treksoft.kvision.electron/-browser-view/from-id.html create mode 100644 api/pl.treksoft.kvision.electron/-browser-view/from-web-contents.html create mode 100644 api/pl.treksoft.kvision.electron/-browser-view/get-all-views.html create mode 100644 api/pl.treksoft.kvision.electron/-browser-view/id.html create mode 100644 api/pl.treksoft.kvision.electron/-browser-view/index.html create mode 100644 api/pl.treksoft.kvision.electron/-browser-view/is-destroyed.html create mode 100644 api/pl.treksoft.kvision.electron/-browser-view/set-auto-resize.html create mode 100644 api/pl.treksoft.kvision.electron/-browser-view/set-background-color.html create mode 100644 api/pl.treksoft.kvision.electron/-browser-view/set-bounds.html create mode 100644 api/pl.treksoft.kvision.electron/-browser-view/web-contents.html (limited to 'api/pl.treksoft.kvision.electron/-browser-view') diff --git a/api/pl.treksoft.kvision.electron/-browser-view/-init-.html b/api/pl.treksoft.kvision.electron/-browser-view/-init-.html new file mode 100644 index 00000000..b96047fc --- /dev/null +++ b/api/pl.treksoft.kvision.electron/-browser-view/-init-.html @@ -0,0 +1,14 @@ + + + +BrowserView.<init> - kvision + + + +kvision / pl.treksoft.kvision.electron / BrowserView / <init>
+
+

<init>

+ +BrowserView(options: BrowserViewConstructorOptions? = definedExternally) + + diff --git a/api/pl.treksoft.kvision.electron/-browser-view/destroy.html b/api/pl.treksoft.kvision.electron/-browser-view/destroy.html new file mode 100644 index 00000000..83d8a89c --- /dev/null +++ b/api/pl.treksoft.kvision.electron/-browser-view/destroy.html @@ -0,0 +1,14 @@ + + + +BrowserView.destroy - kvision + + + +kvision / pl.treksoft.kvision.electron / BrowserView / destroy
+
+

destroy

+ +open fun destroy(): Unit + + diff --git a/api/pl.treksoft.kvision.electron/-browser-view/from-id.html b/api/pl.treksoft.kvision.electron/-browser-view/from-id.html new file mode 100644 index 00000000..8d7b755d --- /dev/null +++ b/api/pl.treksoft.kvision.electron/-browser-view/from-id.html @@ -0,0 +1,14 @@ + + + +BrowserView.fromId - kvision + + + +kvision / pl.treksoft.kvision.electron / BrowserView / fromId
+
+

fromId

+ +fun fromId(id: Number): BrowserView + + diff --git a/api/pl.treksoft.kvision.electron/-browser-view/from-web-contents.html b/api/pl.treksoft.kvision.electron/-browser-view/from-web-contents.html new file mode 100644 index 00000000..3609d1fb --- /dev/null +++ b/api/pl.treksoft.kvision.electron/-browser-view/from-web-contents.html @@ -0,0 +1,14 @@ + + + +BrowserView.fromWebContents - kvision + + + +kvision / pl.treksoft.kvision.electron / BrowserView / fromWebContents
+
+

fromWebContents

+ +fun fromWebContents(webContents: WebContents): BrowserView? + + diff --git a/api/pl.treksoft.kvision.electron/-browser-view/get-all-views.html b/api/pl.treksoft.kvision.electron/-browser-view/get-all-views.html new file mode 100644 index 00000000..a39efbdd --- /dev/null +++ b/api/pl.treksoft.kvision.electron/-browser-view/get-all-views.html @@ -0,0 +1,14 @@ + + + +BrowserView.getAllViews - kvision + + + +kvision / pl.treksoft.kvision.electron / BrowserView / getAllViews
+
+

getAllViews

+ +fun getAllViews(): Array<BrowserView> + + diff --git a/api/pl.treksoft.kvision.electron/-browser-view/id.html b/api/pl.treksoft.kvision.electron/-browser-view/id.html new file mode 100644 index 00000000..a935fbc5 --- /dev/null +++ b/api/pl.treksoft.kvision.electron/-browser-view/id.html @@ -0,0 +1,14 @@ + + + +BrowserView.id - kvision + + + +kvision / pl.treksoft.kvision.electron / BrowserView / id
+
+

id

+ +open var id: Number + + diff --git a/api/pl.treksoft.kvision.electron/-browser-view/index.html b/api/pl.treksoft.kvision.electron/-browser-view/index.html new file mode 100644 index 00000000..ce68e903 --- /dev/null +++ b/api/pl.treksoft.kvision.electron/-browser-view/index.html @@ -0,0 +1,220 @@ + + + +BrowserView - kvision + + + +kvision / pl.treksoft.kvision.electron / BrowserView
+
+

BrowserView

+open external class BrowserView : EventEmitter +

Constructors

+ + + + + + + +
+

<init>

+
+BrowserView(options: BrowserViewConstructorOptions? = definedExternally)
+

Properties

+ + + + + + + + + + + +
+

id

+
+open var id: Number
+

webContents

+
+open var webContents: WebContents
+

Functions

+ + + + + + + + + + + + + + + + + + + + + + + +
+

destroy

+
+open fun destroy(): Unit
+

isDestroyed

+
+open fun isDestroyed(): Boolean
+

setAutoResize

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

setBackgroundColor

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

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

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

fromWebContents

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

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.

+
+ + diff --git a/api/pl.treksoft.kvision.electron/-browser-view/is-destroyed.html b/api/pl.treksoft.kvision.electron/-browser-view/is-destroyed.html new file mode 100644 index 00000000..19379627 --- /dev/null +++ b/api/pl.treksoft.kvision.electron/-browser-view/is-destroyed.html @@ -0,0 +1,14 @@ + + + +BrowserView.isDestroyed - kvision + + + +kvision / pl.treksoft.kvision.electron / BrowserView / isDestroyed
+
+

isDestroyed

+ +open fun isDestroyed(): Boolean + + diff --git a/api/pl.treksoft.kvision.electron/-browser-view/set-auto-resize.html b/api/pl.treksoft.kvision.electron/-browser-view/set-auto-resize.html new file mode 100644 index 00000000..69d9d4dc --- /dev/null +++ b/api/pl.treksoft.kvision.electron/-browser-view/set-auto-resize.html @@ -0,0 +1,14 @@ + + + +BrowserView.setAutoResize - kvision + + + +kvision / pl.treksoft.kvision.electron / BrowserView / setAutoResize
+
+

setAutoResize

+ +open fun setAutoResize(options: AutoResizeOptions): Unit + + diff --git a/api/pl.treksoft.kvision.electron/-browser-view/set-background-color.html b/api/pl.treksoft.kvision.electron/-browser-view/set-background-color.html new file mode 100644 index 00000000..308d44d7 --- /dev/null +++ b/api/pl.treksoft.kvision.electron/-browser-view/set-background-color.html @@ -0,0 +1,14 @@ + + + +BrowserView.setBackgroundColor - kvision + + + +kvision / pl.treksoft.kvision.electron / BrowserView / setBackgroundColor
+
+

setBackgroundColor

+ +open fun setBackgroundColor(color: String): Unit + + diff --git a/api/pl.treksoft.kvision.electron/-browser-view/set-bounds.html b/api/pl.treksoft.kvision.electron/-browser-view/set-bounds.html new file mode 100644 index 00000000..b22558db --- /dev/null +++ b/api/pl.treksoft.kvision.electron/-browser-view/set-bounds.html @@ -0,0 +1,14 @@ + + + +BrowserView.setBounds - kvision + + + +kvision / pl.treksoft.kvision.electron / BrowserView / setBounds
+
+

setBounds

+ +open fun setBounds(bounds: Rectangle): Unit + + diff --git a/api/pl.treksoft.kvision.electron/-browser-view/web-contents.html b/api/pl.treksoft.kvision.electron/-browser-view/web-contents.html new file mode 100644 index 00000000..88234885 --- /dev/null +++ b/api/pl.treksoft.kvision.electron/-browser-view/web-contents.html @@ -0,0 +1,14 @@ + + + +BrowserView.webContents - kvision + + + +kvision / pl.treksoft.kvision.electron / BrowserView / webContents
+
+

webContents

+ +open var webContents: WebContents + + -- cgit