kvision / pl.treksoft.kvision.electron / WebPreferences

WebPreferences

external interface WebPreferences

Properties

additionArguments

open var additionArguments: Array<String>?

affinity

open var affinity: String?

allowRunningInsecureContent

open var allowRunningInsecureContent: Boolean?

backgroundThrottling

open var backgroundThrottling: Boolean?

blinkFeatures

open var blinkFeatures: String?

contextIsolation

open var contextIsolation: Boolean?

defaultEncoding

open var defaultEncoding: String?

defaultFontFamily

open var defaultFontFamily: DefaultFontFamily?

defaultFontSize

open var defaultFontSize: Number?

defaultMonospaceFontSize

open var defaultMonospaceFontSize: Number?

devTools

open var devTools: Boolean?

disableBlinkFeatures

open var disableBlinkFeatures: String?

experimentalCanvasFeatures

open var experimentalCanvasFeatures: Boolean?

experimentalFeatures

open var experimentalFeatures: Boolean?

images

open var images: Boolean?

javascript

open var javascript: Boolean?

minimumFontSize

open var minimumFontSize: Number?

nativeWindowOpen

open var nativeWindowOpen: Boolean?

nodeIntegration

open var nodeIntegration: Boolean?

nodeIntegrationInWorker

open var nodeIntegrationInWorker: Boolean?

offscreen

open var offscreen: Boolean?

partition

open var partition: String?

plugins

open var plugins: Boolean?

preload

open var preload: String?

sandbox

open var sandbox: Boolean?

scrollBounce

open var scrollBounce: Boolean?

session

open var session: Session?

textAreasAreResizable

open var textAreasAreResizable: Boolean?

webaudio

open var webaudio: Boolean?

webgl

open var webgl: Boolean?

webSecurity

open var webSecurity: Boolean?

webviewTag

open var webviewTag: Boolean?

zoomFactor

open var zoomFactor: Number?

Extension Functions

createInstance

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

Helper function for creating JavaScript objects from dynamic constructors.