kvision / pl.treksoft.kvision.electron / WebviewTag

WebviewTag

(js) interface WebviewTag : HTMLElement

Properties

(js)

allowpopups

open var allowpopups: String?
(js)

autosize

open var autosize: String?
(js)

blinkfeatures

open var blinkfeatures: String?
(js)

disableblinkfeatures

open var disableblinkfeatures: String?
(js)

disableguestresize

open var disableguestresize: String?
(js)

disablewebsecurity

open var disablewebsecurity: String?
(js)

guestinstance

open var guestinstance: String?
(js)

httpreferrer

open var httpreferrer: String?
(js)

nodeintegration

open var nodeintegration: String?
(js)

partition

open var partition: String?
(js)

plugins

open var plugins: String?
(js)

preload

open var preload: String?
(js)

src

open var src: String?
(js)

useragent

open var useragent: String?
(js)

webpreferences

open var webpreferences: String?

Functions

(js)

addEventListener

abstract fun addEventListener(event: String, listener: (event: LoadCommitEvent) -> Unit, useCapture: Boolean? = definedExternally): WebviewTag
abstract fun addEventListener(event: String, listener: (event: Event) -> Unit, useCapture: Boolean? = definedExternally): WebviewTag
abstract fun addEventListener(event: String, listener: (event: DidFailLoadEvent) -> Unit, useCapture: Boolean? = definedExternally): WebviewTag
abstract fun addEventListener(event: String, listener: (event: DidFrameFinishLoadEvent) -> Unit, useCapture: Boolean? = definedExternally): WebviewTag
abstract fun addEventListener(event: String, listener: (event: DidGetResponseDetailsEvent) -> Unit, useCapture: Boolean? = definedExternally): WebviewTag
abstract fun addEventListener(event: String, listener: (event: DidGetRedirectRequestEvent) -> Unit, useCapture: Boolean? = definedExternally): WebviewTag
abstract fun addEventListener(event: String, listener: (event: PageTitleUpdatedEvent) -> Unit, useCapture: Boolean? = definedExternally): WebviewTag
abstract fun addEventListener(event: String, listener: (event: PageFaviconUpdatedEvent) -> Unit, useCapture: Boolean? = definedExternally): WebviewTag
abstract fun addEventListener(event: String, listener: (event: ConsoleMessageEvent) -> Unit, useCapture: Boolean? = definedExternally): WebviewTag
abstract fun addEventListener(event: String, listener: (event: FoundInPageEvent) -> Unit, useCapture: Boolean? = definedExternally): WebviewTag
abstract fun addEventListener(event: String, listener: (event: NewWindowEvent) -> Unit, useCapture: Boolean? = definedExternally): WebviewTag
abstract fun addEventListener(event: String, listener: (event: WillNavigateEvent) -> Unit, useCapture: Boolean? = definedExternally): WebviewTag
abstract fun addEventListener(event: String, listener: (event: DidNavigateEvent) -> Unit, useCapture: Boolean? = definedExternally): WebviewTag
abstract fun addEventListener(event: String, listener: (event: DidNavigateInPageEvent) -> Unit, useCapture: Boolean? = definedExternally): WebviewTag
abstract fun addEventListener(event: String, listener: (event: IpcMessageEvent) -> Unit, useCapture: Boolean? = definedExternally): WebviewTag
abstract fun addEventListener(event: String, listener: (event: PluginCrashedEvent) -> Unit, useCapture: Boolean? = definedExternally): WebviewTag
abstract fun addEventListener(event: String, listener: (event: DidChangeThemeColorEvent) -> Unit, useCapture: Boolean? = definedExternally): WebviewTag
abstract fun addEventListener(event: String, listener: (event: UpdateTargetUrlEvent) -> Unit, useCapture: Boolean? = definedExternally): WebviewTag
abstract fun <K> addEventListener(type: K, listener: (this: HTMLElement, ev: Any?) -> Any, useCapture: Boolean? = definedExternally): Unit
abstract fun addEventListener(type: String, listener: EventListener, useCapture: Boolean? = definedExternally): Unit
abstract fun addEventListener(type: String, listener: EventListenerObject, useCapture: Boolean? = definedExternally): Unit
(js)

canGoBack

abstract fun canGoBack(): Boolean
(js)

canGoForward

abstract fun canGoForward(): Boolean
(js)

canGoToOffset

abstract fun canGoToOffset(offset: Number): Boolean
(js)

capturePage

abstract fun capturePage(callback: (image: NativeImage) -> Unit): Unit
abstract fun capturePage(rect: Rectangle, callback: (image: NativeImage) -> Unit): Unit
(js)

clearHistory

abstract fun clearHistory(): Unit
(js)

closeDevTools

abstract fun closeDevTools(): Unit
(js)

copy

abstract fun copy(): Unit
(js)

cut

abstract fun cut(): Unit
(js)

delete

abstract fun delete(): Unit
(js)

executeJavaScript

abstract fun executeJavaScript(code: String, userGesture: Boolean? = definedExternally, callback: ((result: Any) -> Unit)? = definedExternally): Unit
(js)

findInPage

abstract fun findInPage(text: String, options: FindInPageOptions? = definedExternally): Number
(js)

getTitle

abstract fun getTitle(): String
(js)

getURL

abstract fun getURL(): String
(js)

getUserAgent

abstract fun getUserAgent(): String
(js)

getWebContents

abstract fun getWebContents(): WebContents
(js)

goBack

abstract fun goBack(): Unit
(js)

goForward

abstract fun goForward(): Unit
(js)

goToIndex

abstract fun goToIndex(index: Number): Unit
(js)

goToOffset

abstract fun goToOffset(offset: Number): Unit
(js)

insertCSS

abstract fun insertCSS(css: String): Unit
(js)

insertText

abstract fun insertText(text: String): Unit
(js)

inspectElement

abstract fun inspectElement(x: Number, y: Number): Unit
(js)

inspectServiceWorker

abstract fun inspectServiceWorker(): Unit
(js)

isAudioMuted

abstract fun isAudioMuted(): Boolean
(js)

isCrashed

abstract fun isCrashed(): Boolean
(js)

isDevToolsFocused

abstract fun isDevToolsFocused(): Boolean
(js)

isDevToolsOpened

abstract fun isDevToolsOpened(): Boolean
(js)

isLoading

abstract fun isLoading(): Boolean
(js)

isWaitingForResponse

abstract fun isWaitingForResponse(): Boolean
(js)

loadURL

abstract fun loadURL(url: String, options: LoadURLOptions? = definedExternally): Unit
(js)

openDevTools

abstract fun openDevTools(): Unit
(js)

paste

abstract fun paste(): Unit
(js)

pasteAndMatchStyle

abstract fun pasteAndMatchStyle(): Unit
(js)

print

abstract fun print(options: PrintOptions? = definedExternally): Unit
(js)

printToPDF

abstract fun printToPDF(options: PrintToPDFOptions, callback: (error: Error, data: Buffer) -> Unit): Unit
(js)

redo

abstract fun redo(): Unit
(js)

reload

abstract fun reload(): Unit
(js)

reloadIgnoringCache

abstract fun reloadIgnoringCache(): Unit
(js)

removeEventListener

abstract fun removeEventListener(event: String, listener: (event: LoadCommitEvent) -> Unit): WebviewTag
abstract fun removeEventListener(event: String, listener: (event: Event) -> Unit): WebviewTag
abstract fun removeEventListener(event: String, listener: (event: DidFailLoadEvent) -> Unit): WebviewTag
abstract fun removeEventListener(event: String, listener: (event: DidFrameFinishLoadEvent) -> Unit): WebviewTag
abstract fun removeEventListener(event: String, listener: (event: DidGetResponseDetailsEvent) -> Unit): WebviewTag
abstract fun removeEventListener(event: String, listener: (event: DidGetRedirectRequestEvent) -> Unit): WebviewTag
abstract fun removeEventListener(event: String, listener: (event: PageTitleUpdatedEvent) -> Unit): WebviewTag
abstract fun removeEventListener(event: String, listener: (event: PageFaviconUpdatedEvent) -> Unit): WebviewTag
abstract fun removeEventListener(event: String, listener: (event: ConsoleMessageEvent) -> Unit): WebviewTag
abstract fun removeEventListener(event: String, listener: (event: FoundInPageEvent) -> Unit): WebviewTag
abstract fun removeEventListener(event: String, listener: (event: NewWindowEvent) -> Unit): WebviewTag
abstract fun removeEventListener(event: String, listener: (event: WillNavigateEvent) -> Unit): WebviewTag
abstract fun removeEventListener(event: String, listener: (event: DidNavigateEvent) -> Unit): WebviewTag
abstract fun removeEventListener(event: String, listener: (event: DidNavigateInPageEvent) -> Unit): WebviewTag
abstract fun removeEventListener(event: String, listener: (event: IpcMessageEvent) -> Unit): WebviewTag
abstract fun removeEventListener(event: String, listener: (event: PluginCrashedEvent) -> Unit): WebviewTag
abstract fun removeEventListener(event: String, listener: (event: DidChangeThemeColorEvent) -> Unit): WebviewTag
abstract fun removeEventListener(event: String, listener: (event: UpdateTargetUrlEvent) -> Unit): WebviewTag
abstract fun <K> removeEventListener(type: K, listener: (this: HTMLElement, ev: Any?) -> Any, useCapture: Boolean? = definedExternally): Unit
abstract fun removeEventListener(type: String, listener: EventListener, useCapture: Boolean? = definedExternally): Unit
abstract fun removeEventListener(type: String, listener: EventListenerObject, useCapture: Boolean? = definedExternally): Unit
(js)

replace

abstract fun replace(text: String): Unit
(js)

replaceMisspelling

abstract fun replaceMisspelling(text: String): Unit
(js)

selectAll

abstract fun selectAll(): Unit
(js)

send

abstract fun send(channel: String, vararg args: Any): Unit
(js)

sendInputEvent

abstract fun sendInputEvent(event: Any): Unit
(js)

setAudioMuted

abstract fun setAudioMuted(muted: Boolean): Unit
(js)

setUserAgent

abstract fun setUserAgent(userAgent: String): Unit
(js)

setZoomFactor

abstract fun setZoomFactor(factor: Number): Unit
(js)

setZoomLevel

abstract fun setZoomLevel(level: Number): Unit
(js)

showDefinitionForSelection

abstract fun showDefinitionForSelection(): Unit
(js)

stop

abstract fun stop(): Unit
(js)

stopFindInPage

abstract fun stopFindInPage(action: String): Unit
(js)

undo

abstract fun undo(): Unit
(js)

unselect

abstract fun unselect(): Unit