From fb7ff5b8bf2073a8d7b78011b9edffc830dc63cb Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sat, 26 Oct 2019 00:17:24 +0200 Subject: API documentation for KVision 2.0.0 --- .../-web-contents/on.html | 88 ++++++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100644 api1/pl.treksoft.kvision.electron/-web-contents/on.html (limited to 'api1/pl.treksoft.kvision.electron/-web-contents/on.html') diff --git a/api1/pl.treksoft.kvision.electron/-web-contents/on.html b/api1/pl.treksoft.kvision.electron/-web-contents/on.html new file mode 100644 index 00000000..fa670a97 --- /dev/null +++ b/api1/pl.treksoft.kvision.electron/-web-contents/on.html @@ -0,0 +1,88 @@ + + + +WebContents.on - kvision + + + +kvision / pl.treksoft.kvision.electron / WebContents / on
+
+

on

+ +open fun on(event: String, listener: (event: Event, input: Input) -> Unit): WebContents
+ +open fun on(event: String, listener: (event: Event, url: String, error: String, certificate: Certificate, callback: (isTrusted: Boolean) -> Unit) -> Unit): WebContents
+ +open fun on(event: String, listener: (level: Number, message: String, line: Number, sourceId: String) -> Unit): WebContents
+ +open fun on(event: String, listener: (event: Event, params: ContextMenuParams) -> Unit): WebContents
+ +open fun on(event: String, listener: (event: Event, killed: Boolean) -> Unit): WebContents
+ +open fun on(event: String, listener: (event: Event, type: String, image: NativeImage?, scale: Number?, size: Size?, hotspot: Point?) -> Unit): WebContents
+ +open fun on(event: String, listener: Function<*>): WebContents
+ +open fun on(event: String, listener: Function<*>): WebContents
+ +open fun on(event: String, listener: Function<*>): WebContents
+ +open fun on(event: String, listener: Function<*>): WebContents
+ +open fun on(event: String, listener: Function<*>): WebContents
+ +open fun on(event: String, listener: (event: Event, webContents: WebContents) -> Unit): WebContents
+ +open fun on(event: String, listener: (event: Event, color: String?) -> Unit): WebContents
+ +open fun on(event: String, listener: (event: Event, errorCode: Number, errorDescription: String, validatedURL: String, isMainFrame: Boolean) -> Unit): WebContents
+ +open fun on(event: String, listener: Function<*>): WebContents
+ +open fun on(event: String, listener: (event: Event, isMainFrame: Boolean) -> Unit): WebContents
+ +open fun on(event: String, listener: (event: Event, oldURL: String, newURL: String, isMainFrame: Boolean, httpResponseCode: Number, requestMethod: String, referrer: String, headers: Any) -> Unit): WebContents
+ +open fun on(event: String, listener: (event: Event, status: Boolean, newURL: String, originalURL: String, httpResponseCode: Number, requestMethod: String, referrer: String, headers: Any, resourceType: String) -> Unit): WebContents
+ +open fun on(event: String, listener: (event: Event, url: String) -> Unit): WebContents
+ +open fun on(event: String, listener: (event: Event, url: String, isMainFrame: Boolean) -> Unit): WebContents
+ +open fun on(event: String, listener: Function<*>): WebContents
+ +open fun on(event: String, listener: Function<*>): WebContents
+ +open fun on(event: String, listener: (event: Event) -> Unit): WebContents
+ +open fun on(event: String, listener: (event: Event, result: Result) -> Unit): WebContents
+ +open fun on(event: String, listener: (event: Event, request: Request, authInfo: AuthInfo, callback: (username: String, password: String) -> Unit) -> Unit): WebContents
+ +open fun on(event: String, listener: Function<*>): WebContents
+ +open fun on(event: String, listener: Function<*>): WebContents +

Overrides EventEmitter.on

+
+ +open fun on(event: String, listener: (event: Event, url: String, frameName: String, dynamic, options: Any, additionalFeatures: Array<String>) -> Unit): WebContents
+ +open fun on(event: String, listener: (event: Event, favicons: Array<String>) -> Unit): WebContents
+ +open fun on(event: String, listener: (event: Event, dirtyRect: Rectangle, image: NativeImage) -> Unit): WebContents
+ +open fun on(event: String, listener: (event: Event, name: String, version: String) -> Unit): WebContents
+ +open fun on(event: String, listener: (event: Event, devices: Array<BluetoothDevice>, callback: (deviceId: String) -> Unit) -> Unit): WebContents
+ +open fun on(event: String, listener: (event: Event, url: String, certificateList: Array<Certificate>, callback: (certificate: Certificate) -> Unit) -> Unit): WebContents
+ +open fun on(event: String, listener: (event: Event, url: String) -> Unit): WebContents
+ +open fun on(event: String, listener: (event: Event, webPreferences: Any, params: Any) -> Unit): WebContents
+ +open fun on(event: String, listener: (event: Event, url: String) -> Unit): WebContents
+ +open fun on(event: String, listener: (event: Event) -> Unit): WebContents + + -- cgit