kvision
Module Contents
alltypes
Module Contents
external interface AboutPanelOptionsOptions
abstract class AbstractText : SimplePanel, StringFormControl
abstract class AbstractTextInput : Widget, FormInput
open external class Accelerator
typealias ActionCreator<A, S> = (Dispatch<A>, GetState<S>) -> Unit
external interface AddRepresentationOptions
data class AjaxOptions
Module Contents
AjaxOptions(url: String? = null, preprocessData: ((dynamic) -> dynamic)? = null, beforeSend: ((JQueryXHR, dynamic) -> dynamic)? = null, data: dynamic = null, httpType: HttpType = HttpType.GET, dataType: DataType = DataType.JSON, minLength: Int = 0, cache: Boolean = true, clearOnEmpty: Boolean = true, clearOnError: Boolean = true, emptyRequest: Boolean = false, requestDelay: Int = AJAX_REQUEST_DELAY, restoreOnError: Boolean = false, preserveSelected: Boolean = false, processData: Boolean = false)
val beforeSend: ((JQueryXHR, dynamic) -> dynamic)?
val cache: Boolean
val clearOnEmpty: Boolean
val clearOnError: Boolean
val data: dynamic
val dataType: DataType
val emptyRequest: Boolean
val httpType: HttpType
val minLength: Int
val preprocessData: ((dynamic) -> dynamic)?
val preserveSelected: Boolean
val processData: Boolean
val requestDelay: Int
val restoreOnError: Boolean
val url: String?
open class Alert : Modal
Module Contents
Alert(caption: String? = null, text: String? = null, rich: Boolean = false, align: Align? = null, size: ModalSize? = null, animation: Boolean = true, callback: (() -> Unit)? = null)
var align: Align?
open fun hide(): Widget
var rich: Boolean
fun show(caption: String? = null, text: String? = null, rich: Boolean = false, align: Align? = null, size: ModalSize? = null, animation: Boolean = true, callback: (() -> Unit)? = null): Unit
var text: String?
enum class Align
external interface AllElectron : MainInterface, RendererInterface
data class AnimationOptions
external interface App : EventEmitter
Module Contents
abstract fun addListener(event: String, listener: (event: Event, accessibilitySupportEnabled: Boolean) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event, hasVisibleWindows: Boolean) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event, type: String, userInfo: Any) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event, window: BrowserWindow) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event, window: BrowserWindow) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event, window: BrowserWindow) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event, webContents: WebContents, url: String, error: String, certificate: Certificate, callback: (isTrusted: Boolean) -> Unit) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event, type: String, userInfo: Any) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event, type: String, error: String) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event, killed: Boolean) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event, webContents: WebContents, request: Request, authInfo: AuthInfo, callback: (username: String, password: String) -> Unit) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event, path: String) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event, url: String) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event, exitCode: Number) -> Unit): App
abstract fun addListener(event: String, listener: (launchInfo: Any) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event, webContents: WebContents, url: String, certificateList: Array<Certificate>, callback: (certificate: Certificate?) -> Unit) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event, type: String, userInfo: Any) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event, webContents: WebContents) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event, type: String) -> Unit): App
abstract fun addListener(event: String, listener: Function<*>): App
abstract fun addListener(event: String, listener: (event: Event) -> Unit): App
abstract fun addListener(event: String, listener: Function<*>): App
abstract fun addRecentDocument(path: String): Unit
abstract fun clearRecentDocuments(): Unit
abstract var commandLine: CommandLine
abstract fun disableDomainBlockingFor3DAPIs(): Unit
abstract fun disableHardwareAcceleration(): Unit
abstract var dock: Dock
abstract fun enableMixedSandbox(): Unit
abstract fun exit(exitCode: Number? = definedExternally): Unit
abstract fun focus(): Unit
abstract fun getAppMetrics(): Array<ProcessMetric>
abstract fun getAppPath(): String
abstract fun getBadgeCount(): Number
abstract fun getCurrentActivityType(): String
abstract fun getFileIcon(path: String, callback: (Error, icon: NativeImage) -> Unit): Unit
abstract fun getFileIcon(path: String, options: FileIconOptions, callback: (Error, icon: NativeImage) -> Unit): Unit
abstract fun getGPUFeatureStatus(): GPUFeatureStatus
abstract fun getJumpListSettings(): JumpListSettings
abstract fun getLocale(): String
abstract fun getLoginItemSettings(options: LoginItemSettingsOptions? = definedExternally): LoginItemSettings
abstract fun getName(): String
abstract fun getPath(name: String): String
abstract fun getVersion(): String
abstract fun hide(): Unit
abstract fun importCertificate(options: ImportCertificateOptions, callback: (result: Number) -> Unit): Unit
abstract fun invalidateCurrentActivity(type: String): Unit
abstract fun isAccessibilitySupportEnabled(): Boolean
abstract fun isDefaultProtocolClient(protocol: String, path: String? = definedExternally, args: Array<String>? = definedExternally): Boolean
abstract fun isInApplicationsFolder(): Boolean
abstract fun isReady(): Boolean
abstract fun isUnityRunning(): Boolean
abstract fun makeSingleInstance(callback: (argv: Array<String>, workingDirectory: String) -> Unit): Boolean
abstract fun moveToApplicationsFolder(): Boolean
abstract fun on(event: String, listener: (event: Event, accessibilitySupportEnabled: Boolean) -> Unit): App
abstract fun on(event: String, listener: (event: Event, hasVisibleWindows: Boolean) -> Unit): App
abstract fun on(event: String, listener: (event: Event, type: String, userInfo: Any) -> Unit): App
abstract fun on(event: String, listener: (event: Event) -> Unit): App
abstract fun on(event: String, listener: (event: Event, window: BrowserWindow) -> Unit): App
abstract fun on(event: String, listener: (event: Event, window: BrowserWindow) -> Unit): App
abstract fun on(event: String, listener: (event: Event, window: BrowserWindow) -> Unit): App
abstract fun on(event: String, listener: (event: Event, webContents: WebContents, url: String, error: String, certificate: Certificate, callback: (isTrusted: Boolean) -> Unit) -> Unit): App
abstract fun on(event: String, listener: (event: Event, type: String, userInfo: Any) -> Unit): App
abstract fun on(event: String, listener: (event: Event, type: String, error: String) -> Unit): App
abstract fun on(event: String, listener: (event: Event, killed: Boolean) -> Unit): App
abstract fun on(event: String, listener: (event: Event, webContents: WebContents, request: Request, authInfo: AuthInfo, callback: (username: String, password: String) -> Unit) -> Unit): App
abstract fun on(event: String, listener: (event: Event) -> Unit): App
abstract fun on(event: String, listener: (event: Event, path: String) -> Unit): App
abstract fun on(event: String, listener: (event: Event, url: String) -> Unit): App
abstract fun on(event: String, listener: (event: Event, exitCode: Number) -> Unit): App
abstract fun on(event: String, listener: (launchInfo: Any) -> Unit): App
abstract fun on(event: String, listener: (event: Event, webContents: WebContents, url: String, certificateList: Array<Certificate>, callback: (certificate: Certificate?) -> Unit) -> Unit): App
abstract fun on(event: String, listener: (event: Event, type: String, userInfo: Any) -> Unit): App
abstract fun on(event: String, listener: (event: Event, webContents: WebContents) -> Unit): App
abstract fun on(event: String, listener: (event: Event, type: String) -> Unit): App
abstract fun on(event: String, listener: Function<*>): App
abstract fun on(event: String, listener: (event: Event) -> Unit): App
abstract fun on(event: String, listener: Function<*>): App
abstract fun once(event: String, listener: (event: Event, accessibilitySupportEnabled: Boolean) -> Unit): App
abstract fun once(event: String, listener: (event: Event, hasVisibleWindows: Boolean) -> Unit): App
abstract fun once(event: String, listener: (event: Event, type: String, userInfo: Any) -> Unit): App
abstract fun once(event: String, listener: (event: Event) -> Unit): App
abstract fun once(event: String, listener: (event: Event, window: BrowserWindow) -> Unit): App
abstract fun once(event: String, listener: (event: Event, window: BrowserWindow) -> Unit): App
abstract fun once(event: String, listener: (event: Event, window: BrowserWindow) -> Unit): App
abstract fun once(event: String, listener: (event: Event, webContents: WebContents, url: String, error: String, certificate: Certificate, callback: (isTrusted: Boolean) -> Unit) -> Unit): App
abstract fun once(event: String, listener: (event: Event, type: String, userInfo: Any) -> Unit): App
abstract fun once(event: String, listener: (event: Event, type: String, error: String) -> Unit): App
abstract fun once(event: String, listener: (event: Event, killed: Boolean) -> Unit): App
abstract fun once(event: String, listener: (event: Event, webContents: WebContents, request: Request, authInfo: AuthInfo, callback: (username: String, password: String) -> Unit) -> Unit): App
abstract fun once(event: String, listener: (event: Event) -> Unit): App
abstract fun once(event: String, listener: (event: Event, path: String) -> Unit): App
abstract fun once(event: String, listener: (event: Event, url: String) -> Unit): App
abstract fun once(event: String, listener: (event: Event, exitCode: Number) -> Unit): App
abstract fun once(event: String, listener: (launchInfo: Any) -> Unit): App
abstract fun once(event: String, listener: (event: Event, webContents: WebContents, url: String, certificateList: Array<Certificate>, callback: (certificate: Certificate?) -> Unit) -> Unit): App
abstract fun once(event: String, listener: (event: Event, type: String, userInfo: Any) -> Unit): App
abstract fun once(event: String, listener: (event: Event, webContents: WebContents) -> Unit): App
abstract fun once(event: String, listener: (event: Event, type: String) -> Unit): App
abstract fun once(event: String, listener: Function<*>): App
abstract fun once(event: String, listener: (event: Event) -> Unit): App
abstract fun once(event: String, listener: Function<*>): App
abstract fun quit(): Unit
abstract fun relaunch(options: RelaunchOptions? = definedExternally): Unit
abstract fun releaseSingleInstance(): Unit
abstract fun removeAsDefaultProtocolClient(protocol: String, path: String? = definedExternally, args: Array<String>? = definedExternally): Boolean
abstract fun removeListener(event: String, listener: (event: Event, accessibilitySupportEnabled: Boolean) -> Unit): App
abstract fun removeListener(event: String, listener: (event: Event, hasVisibleWindows: Boolean) -> Unit): App
abstract fun removeListener(event: String, listener: (event: Event, type: String, userInfo: Any) -> Unit): App
abstract fun removeListener(event: String, listener: (event: Event) -> Unit): App
abstract fun removeListener(event: String, listener: (event: Event, window: BrowserWindow) -> Unit): App
abstract fun removeListener(event: String, listener: (event: Event, window: BrowserWindow) -> Unit): App
abstract fun removeListener(event: String, listener: (event: Event, window: BrowserWindow) -> Unit): App
abstract fun removeListener(event: String, listener: (event: Event, webContents: WebContents, url: String, error: String, certificate: Certificate, callback: (isTrusted: Boolean) -> Unit) -> Unit): App
abstract fun removeListener(event: String, listener: (event: Event, type: String, userInfo: Any) -> Unit): App
abstract fun removeListener(event: String, listener: (event: Event, type: String, error: String) -> Unit): App
abstract fun removeListener(event: String, listener: (event: Event, killed: Boolean) -> Unit): App
abstract fun removeListener(event: String, listener: (event: Event, webContents: WebContents, request: Request, authInfo: AuthInfo, callback: (username: String, password: String) -> Unit) -> Unit): App
abstract fun removeListener(event: String, listener: (event: Event) -> Unit): App
abstract fun removeListener(event: String, listener: (event: Event, path: String) -> Unit): App
abstract fun removeListener(event: String, listener: (event: Event, url: String) -> Unit): App
abstract fun removeListener(event: String, listener: (event: Event, exitCode: Number) -> Unit): App
abstract fun removeListener(event: String, listener: (launchInfo: Any) -> Unit): App
abstract fun removeListener(event: String, listener: (event: Event, webContents: WebContents, url: String, certificateList: Array<Certificate>, callback: (certificate: Certificate?) -> Unit) -> Unit): App
abstract fun removeListener(event: String, listener: (event: Event, type: String, userInfo: Any) -> Unit): App
abstract fun removeListener(event: String, listener: (event: Event, webContents: WebContents) -> Unit): App
abstract fun removeListener(event: String, listener: (event: Event, type: String) -> Unit): App
abstract fun removeListener(event: String, listener: Function<*>): App
abstract fun removeListener(event: String, listener: (event: Event) -> Unit): App
abstract fun removeListener(event: String, listener: Function<*>): App
abstract fun setAboutPanelOptions(options: AboutPanelOptionsOptions): Unit
abstract fun setAccessibilitySupportEnabled(enabled: Boolean): Unit
abstract fun setAppUserModelId(id: String): Unit
abstract fun setAsDefaultProtocolClient(protocol: String, path: String? = definedExternally, args: Array<String>? = definedExternally): Boolean
abstract fun setBadgeCount(count: Number): Boolean
abstract fun setJumpList(categories: Array<JumpListCategory>): Unit
abstract fun setLoginItemSettings(settings: Settings): Unit
abstract fun setName(name: String): Unit
abstract fun setPath(name: String, path: String): Unit
abstract fun setUserActivity(type: String, userInfo: Any, webpageURL: String? = definedExternally): Unit
abstract fun setUserTasks(tasks: Array<Task>): Boolean
abstract fun show(): Unit
abstract fun startAccessingSecurityScopedResource(bookmarkData: String): Function<*>
abstract fun updateCurrentActivity(type: String, userInfo: Any): Unit
external interface AppDetailsOptions
interface ApplicationBase
data class ArcOptions
external interface AuthInfo
external interface AutoResizeOptions
external interface AutoUpdater : EventEmitter
Module Contents
abstract fun addListener(event: String, listener: Function<*>): AutoUpdater
abstract fun addListener(event: String, listener: (Error) -> Unit): AutoUpdater
abstract fun addListener(event: String, listener: Function<*>): AutoUpdater
abstract fun addListener(event: String, listener: (event: Event, releaseNotes: String, releaseName: String, releaseDate: Date, updateURL: String) -> Unit): AutoUpdater
abstract fun addListener(event: String, listener: Function<*>): AutoUpdater
abstract fun checkForUpdates(): Unit
abstract fun getFeedURL(): String
abstract fun on(event: String, listener: Function<*>): AutoUpdater
abstract fun on(event: String, listener: (Error) -> Unit): AutoUpdater
abstract fun on(event: String, listener: Function<*>): AutoUpdater
abstract fun on(event: String, listener: (event: Event, releaseNotes: String, releaseName: String, releaseDate: Date, updateURL: String) -> Unit): AutoUpdater
abstract fun on(event: String, listener: Function<*>): AutoUpdater
abstract fun once(event: String, listener: Function<*>): AutoUpdater
abstract fun once(event: String, listener: (Error) -> Unit): AutoUpdater
abstract fun once(event: String, listener: Function<*>): AutoUpdater
abstract fun once(event: String, listener: (event: Event, releaseNotes: String, releaseName: String, releaseDate: Date, updateURL: String) -> Unit): AutoUpdater
abstract fun once(event: String, listener: Function<*>): AutoUpdater
abstract fun quitAndInstall(): Unit
abstract fun removeListener(event: String, listener: Function<*>): AutoUpdater
abstract fun removeListener(event: String, listener: (Error) -> Unit): AutoUpdater
abstract fun removeListener(event: String, listener: Function<*>): AutoUpdater
abstract fun removeListener(event: String, listener: (event: Event, releaseNotes: String, releaseName: String, releaseDate: Date, updateURL: String) -> Unit): AutoUpdater
abstract fun removeListener(event: String, listener: Function<*>): AutoUpdater
abstract fun setFeedURL(options: FeedURLOptions): Unit
class Background
Module Contents
Background(image: ResString? = null, positionX: CssSize? = null, positionY: CssSize? = null, sizeX: CssSize? = null, sizeY: CssSize? = null, size: BgSize? = null, repeat: BgRepeat? = null, origin: BgOrigin? = null, clip: BgClip? = null, attachment: BgAttach? = null)
Background(color: Int, image: ResString? = null, positionX: CssSize? = null, positionY: CssSize? = null, sizeX: CssSize? = null, sizeY: CssSize? = null, size: BgSize? = null, repeat: BgRepeat? = null, origin: BgOrigin? = null, clip: BgClip? = null, attachment: BgAttach? = null)
Background(color: Col, image: ResString? = null, positionX: CssSize? = null, positionY: CssSize? = null, sizeX: CssSize? = null, sizeY: CssSize? = null, size: BgSize? = null, repeat: BgRepeat? = null, origin: BgOrigin? = null, clip: BgClip? = null, attachment: BgAttach? = null)
abstract class BaseDataComponent : DataComponent
enum class BgAttach
enum class BgClip
enum class BgOrigin
enum class BgRepeat
enum class BgSize
external interface BitmapOptions
external interface BluetoothDevice
interface BoolFormControl : FormControl
class Border
enum class BorderStyle
open external class BrowserView : EventEmitter
external interface BrowserViewConstructorOptions
open external class BrowserWindow : EventEmitter
Module Contents
BrowserWindow(options: BrowserWindowConstructorOptions? = definedExternally)
fun addDevToolsExtension(path: String): Unit
fun addExtension(path: String): Unit
open fun addListener(event: String, listener: (event: Event, command: String) -> Unit): BrowserWindow
open fun addListener(event: String, listener: Function<*>): BrowserWindow
open fun addListener(event: String, listener: (event: Event) -> Unit): BrowserWindow
open fun addListener(event: String, listener: Function<*>): BrowserWindow
open fun addListener(event: String, listener: Function<*>): BrowserWindow
open fun addListener(event: String, listener: Function<*>): BrowserWindow
open fun addListener(event: String, listener: Function<*>): BrowserWindow
open fun addListener(event: String, listener: Function<*>): BrowserWindow
open fun addListener(event: String, listener: Function<*>): BrowserWindow
open fun addListener(event: String, listener: Function<*>): BrowserWindow
open fun addListener(event: String, listener: Function<*>): BrowserWindow
open fun addListener(event: String, listener: Function<*>): BrowserWindow
open fun addListener(event: String, listener: Function<*>): BrowserWindow
open fun addListener(event: String, listener: Function<*>): BrowserWindow
open fun addListener(event: String, listener: Function<*>): BrowserWindow
open fun addListener(event: String, listener: (event: Event, title: String) -> Unit): BrowserWindow
open fun addListener(event: String, listener: Function<*>): BrowserWindow
open fun addListener(event: String, listener: Function<*>): BrowserWindow
open fun addListener(event: String, listener: Function<*>): BrowserWindow
open fun addListener(event: String, listener: Function<*>): BrowserWindow
open fun addListener(event: String, listener: Function<*>): BrowserWindow
open fun addListener(event: String, listener: Function<*>): BrowserWindow
open fun addListener(event: String, listener: Function<*>): BrowserWindow
open fun addListener(event: String, listener: Function<*>): BrowserWindow
open fun addListener(event: String, listener: Function<*>): BrowserWindow
open fun addListener(event: String, listener: Function<*>): BrowserWindow
open fun addListener(event: String, listener: Function<*>): BrowserWindow
open fun addListener(event: String, listener: (event: Event, direction: String) -> Unit): BrowserWindow
open fun addListener(event: String, listener: Function<*>): BrowserWindow
open fun addListener(event: String, listener: Function<*>): BrowserWindow
open fun addTabbedWindow(browserWindow: BrowserWindow): Unit
open fun blur(): Unit
open fun blurWebView(): Unit
open fun capturePage(callback: (image: NativeImage) -> Unit): Unit
open fun capturePage(rect: Rectangle, callback: (image: NativeImage) -> Unit): Unit
open fun center(): Unit
open fun close(): Unit
open fun closeFilePreview(): Unit
open fun destroy(): Unit
open fun flashFrame(flag: Boolean): Unit
open fun focus(): Unit
open fun focusOnWebView(): Unit
fun fromBrowserView(browserView: BrowserView): BrowserWindow?
fun fromId(id: Number): BrowserWindow
fun fromWebContents(webContents: WebContents): BrowserWindow
fun getAllWindows(): Array<BrowserWindow>
open fun getBounds(): Rectangle
open fun getBrowserView(): BrowserView?
open fun getChildWindows(): Array<BrowserWindow>
open fun getContentBounds(): Rectangle
open fun getContentSize(): Array<Number>
fun getDevToolsExtensions(): DevToolsExtensions
fun getExtensions(): Extensions
fun getFocusedWindow(): BrowserWindow
open fun getMaximumSize(): Array<Number>
open fun getMinimumSize(): Array<Number>
open fun getNativeWindowHandle(): <ERROR CLASS>
open fun getOpacity(): Number
open fun getParentWindow(): BrowserWindow
open fun getPosition(): Array<Number>
open fun getRepresentedFilename(): String
open fun getSize(): Array<Number>
open fun getTitle(): String
open fun hasShadow(): Boolean
open fun hide(): Unit
open fun hookWindowMessage(message: Number, callback: Function<*>): Unit
open var id: Number
open fun isAlwaysOnTop(): Boolean
open fun isClosable(): Boolean
open fun isDestroyed(): Boolean
open fun isDocumentEdited(): Boolean
open fun isFocused(): Boolean
open fun isFullScreen(): Boolean
open fun isFullScreenable(): Boolean
open fun isKiosk(): Boolean
open fun isMaximizable(): Boolean
open fun isMaximized(): Boolean
open fun isMenuBarAutoHide(): Boolean
open fun isMenuBarVisible(): Boolean
open fun isMinimizable(): Boolean
open fun isMinimized(): Boolean
open fun isModal(): Boolean
open fun isMovable(): Boolean
open fun isResizable(): Boolean
open fun isSimpleFullScreen(): Boolean
open fun isVisible(): Boolean
open fun isVisibleOnAllWorkspaces(): Boolean
open fun isWindowMessageHooked(message: Number): Boolean
open fun loadFile(filePath: String): Unit
open fun loadURL(url: String, options: LoadURLOptions? = definedExternally): Unit
open fun maximize(): Unit
open fun mergeAllWindows(): Unit
open fun minimize(): Unit
open fun moveTabToNewWindow(): Unit
open fun on(event: String, listener: (event: Event, command: String) -> Unit): BrowserWindow
open fun on(event: String, listener: Function<*>): BrowserWindow
open fun on(event: String, listener: (event: Event) -> Unit): BrowserWindow
open fun on(event: String, listener: Function<*>): BrowserWindow
open fun on(event: String, listener: Function<*>): BrowserWindow
open fun on(event: String, listener: Function<*>): BrowserWindow
open fun on(event: String, listener: Function<*>): BrowserWindow
open fun on(event: String, listener: Function<*>): BrowserWindow
open fun on(event: String, listener: Function<*>): BrowserWindow
open fun on(event: String, listener: Function<*>): BrowserWindow
open fun on(event: String, listener: Function<*>): BrowserWindow
open fun on(event: String, listener: Function<*>): BrowserWindow
open fun on(event: String, listener: Function<*>): BrowserWindow
open fun on(event: String, listener: Function<*>): BrowserWindow
open fun on(event: String, listener: Function<*>): BrowserWindow
open fun on(event: String, listener: (event: Event, title: String) -> Unit): BrowserWindow
open fun on(event: String, listener: Function<*>): BrowserWindow
open fun on(event: String, listener: Function<*>): BrowserWindow
open fun on(event: String, listener: Function<*>): BrowserWindow
open fun on(event: String, listener: Function<*>): BrowserWindow
open fun on(event: String, listener: Function<*>): BrowserWindow
open fun on(event: String, listener: Function<*>): BrowserWindow
open fun on(event: String, listener: Function<*>): BrowserWindow
open fun on(event: String, listener: Function<*>): BrowserWindow
open fun on(event: String, listener: Function<*>): BrowserWindow
open fun on(event: String, listener: Function<*>): BrowserWindow
open fun on(event: String, listener: Function<*>): BrowserWindow
open fun on(event: String, listener: (event: Event, direction: String) -> Unit): BrowserWindow
open fun on(event: String, listener: Function<*>): BrowserWindow
open fun on(event: String, listener: Function<*>): BrowserWindow
open fun once(event: String, listener: (event: Event, command: String) -> Unit): BrowserWindow
open fun once(event: String, listener: Function<*>): BrowserWindow
open fun once(event: String, listener: (event: Event) -> Unit): BrowserWindow
open fun once(event: String, listener: Function<*>): BrowserWindow
open fun once(event: String, listener: Function<*>): BrowserWindow
open fun once(event: String, listener: Function<*>): BrowserWindow
open fun once(event: String, listener: Function<*>): BrowserWindow
open fun once(event: String, listener: Function<*>): BrowserWindow
open fun once(event: String, listener: Function<*>): BrowserWindow
open fun once(event: String, listener: Function<*>): BrowserWindow
open fun once(event: String, listener: Function<*>): BrowserWindow
open fun once(event: String, listener: Function<*>): BrowserWindow
open fun once(event: String, listener: Function<*>): BrowserWindow
open fun once(event: String, listener: Function<*>): BrowserWindow
open fun once(event: String, listener: Function<*>): BrowserWindow
open fun once(event: String, listener: (event: Event, title: String) -> Unit): BrowserWindow
open fun once(event: String, listener: Function<*>): BrowserWindow
open fun once(event: String, listener: Function<*>): BrowserWindow
open fun once(event: String, listener: Function<*>): BrowserWindow
open fun once(event: String, listener: Function<*>): BrowserWindow
open fun once(event: String, listener: Function<*>): BrowserWindow
open fun once(event: String, listener: Function<*>): BrowserWindow
open fun once(event: String, listener: Function<*>): BrowserWindow
open fun once(event: String, listener: Function<*>): BrowserWindow
open fun once(event: String, listener: Function<*>): BrowserWindow
open fun once(event: String, listener: Function<*>): BrowserWindow
open fun once(event: String, listener: Function<*>): BrowserWindow
open fun once(event: String, listener: (event: Event, direction: String) -> Unit): BrowserWindow
open fun once(event: String, listener: Function<*>): BrowserWindow
open fun once(event: String, listener: Function<*>): BrowserWindow
open fun previewFile(path: String, displayName: String? = definedExternally): Unit
open fun reload(): Unit
fun removeDevToolsExtension(name: String): Unit
fun removeExtension(name: String): Unit
open fun removeListener(event: String, listener: (event: Event, command: String) -> Unit): BrowserWindow
open fun removeListener(event: String, listener: Function<*>): BrowserWindow
open fun removeListener(event: String, listener: (event: Event) -> Unit): BrowserWindow
open fun removeListener(event: String, listener: Function<*>): BrowserWindow
open fun removeListener(event: String, listener: Function<*>): BrowserWindow
open fun removeListener(event: String, listener: Function<*>): BrowserWindow
open fun removeListener(event: String, listener: Function<*>): BrowserWindow
open fun removeListener(event: String, listener: Function<*>): BrowserWindow
open fun removeListener(event: String, listener: Function<*>): BrowserWindow
open fun removeListener(event: String, listener: Function<*>): BrowserWindow
open fun removeListener(event: String, listener: Function<*>): BrowserWindow
open fun removeListener(event: String, listener: Function<*>): BrowserWindow
open fun removeListener(event: String, listener: Function<*>): BrowserWindow
open fun removeListener(event: String, listener: Function<*>): BrowserWindow
open fun removeListener(event: String, listener: Function<*>): BrowserWindow
open fun removeListener(event: String, listener: (event: Event, title: String) -> Unit): BrowserWindow
open fun removeListener(event: String, listener: Function<*>): BrowserWindow
open fun removeListener(event: String, listener: Function<*>): BrowserWindow
open fun removeListener(event: String, listener: Function<*>): BrowserWindow
open fun removeListener(event: String, listener: Function<*>): BrowserWindow
open fun removeListener(event: String, listener: Function<*>): BrowserWindow
open fun removeListener(event: String, listener: Function<*>): BrowserWindow
open fun removeListener(event: String, listener: Function<*>): BrowserWindow
open fun removeListener(event: String, listener: Function<*>): BrowserWindow
open fun removeListener(event: String, listener: Function<*>): BrowserWindow
open fun removeListener(event: String, listener: Function<*>): BrowserWindow
open fun removeListener(event: String, listener: Function<*>): BrowserWindow
open fun removeListener(event: String, listener: (event: Event, direction: String) -> Unit): BrowserWindow
open fun removeListener(event: String, listener: Function<*>): BrowserWindow
open fun removeListener(event: String, listener: Function<*>): BrowserWindow
open fun restore(): Unit
open fun selectNextTab(): Unit
open fun selectPreviousTab(): Unit
open fun setAlwaysOnTop(flag: Boolean, level: String? = definedExternally, relativeLevel: Number? = definedExternally): Unit
open fun setAlwaysOnTop(flag: Boolean, level: String? = definedExternally, relativeLevel: Number? = definedExternally): Unit
open fun setAlwaysOnTop(flag: Boolean, level: String? = definedExternally, relativeLevel: Number? = definedExternally): Unit
open fun setAlwaysOnTop(flag: Boolean, level: String? = definedExternally, relativeLevel: Number? = definedExternally): Unit
open fun setAlwaysOnTop(flag: Boolean, level: String? = definedExternally, relativeLevel: Number? = definedExternally): Unit
open fun setAlwaysOnTop(flag: Boolean, level: String? = definedExternally, relativeLevel: Number? = definedExternally): Unit
open fun setAlwaysOnTop(flag: Boolean, level: String? = definedExternally, relativeLevel: Number? = definedExternally): Unit
open fun setAlwaysOnTop(flag: Boolean, level: String? = definedExternally, relativeLevel: Number? = definedExternally): Unit
open fun setAlwaysOnTop(flag: Boolean): Unit
open fun setAppDetails(options: AppDetailsOptions): Unit
open fun setAspectRatio(aspectRatio: Number, : Size): Unit
open fun setAutoHideCursor(autoHide: Boolean): Unit
open fun setAutoHideMenuBar(: Boolean): Unit
open fun setBounds(bounds: Rectangle, animate: Boolean? = definedExternally): Unit
open fun setBrowserView(browserView: BrowserView): Unit
open fun setClosable(closable: Boolean): Unit
open fun setContentBounds(bounds: Rectangle, animate: Boolean? = definedExternally): Unit
open fun setContentProtection(enable: Boolean): Unit
open fun setContentSize(width: Number, height: Number, animate: Boolean? = definedExternally): Unit
open fun setDocumentEdited(edited: Boolean): Unit
open fun setEnabled(enable: Boolean): Unit
open fun setFocusable(focusable: Boolean): Unit
open fun setFullScreen(flag: Boolean): Unit
open fun setFullScreenable(fullscreenable: Boolean): Unit
open fun setHasShadow(hasShadow: Boolean): Unit
open fun setIcon(icon: NativeImage): Unit
open fun setIgnoreMouseEvents(ignore: Boolean, options: IgnoreMouseEventsOptions? = definedExternally): Unit
open fun setKiosk(flag: Boolean): Unit
open fun setMaximizable(maximizable: Boolean): Unit
open fun setMaximumSize(width: Number, height: Number): Unit
open fun setMenu(: Menu?): Unit
open fun setMenuBarVisibility(: Boolean): Unit
open fun setMinimizable(minimizable: Boolean): Unit
open fun setMinimumSize(width: Number, height: Number): Unit
open fun setMovable(movable: Boolean): Unit
open fun setOpacity(opacity: Number): Unit
open fun setOverlayIcon(overlay: NativeImage, description: String): Unit
open fun setParentWindow(parent: BrowserWindow): Unit
open fun setPosition(x: Number, y: Number, animate: Boolean? = definedExternally): Unit
open fun setProgressBar(progress: Number, options: ProgressBarOptions? = definedExternally): Unit
open fun setRepresentedFilename(filename: String): Unit
open fun setResizable(resizable: Boolean): Unit
open fun setSheetOffset(offsetY: Number, offsetX: Number? = definedExternally): Unit
open fun setSimpleFullScreen(flag: Boolean): Unit
open fun setSize(width: Number, height: Number, animate: Boolean? = definedExternally): Unit
open fun setSkipTaskbar(skip: Boolean): Unit
open fun setThumbarButtons(buttons: Array<ThumbarButton>): Boolean
open fun setThumbnailClip(region: Rectangle): Unit
open fun setThumbnailToolTip(toolTip: String): Unit
open fun setTitle(title: String): Unit
open fun setTouchBar(touchBar: TouchBar): Unit
open fun setVibrancy(type: String): Unit
open fun setVibrancy(type: String): Unit
open fun setVibrancy(type: String): Unit
open fun setVibrancy(type: String): Unit
open fun setVibrancy(type: String): Unit
open fun setVibrancy(type: String): Unit
open fun setVibrancy(type: String): Unit
open fun setVibrancy(type: String): Unit
open fun setVibrancy(type: String): Unit
open fun setVibrancy(type: String): Unit
open fun setVisibleOnAllWorkspaces(visible: Boolean): Unit
open fun show(): Unit
open fun showDefinitionForSelection(): Unit
open fun showInactive(): Unit
open fun toggleTabBar(): Unit
open fun unhookAllWindowMessages(): Unit
open fun unhookWindowMessage(message: Number): Unit
open fun unmaximize(): Unit
open var webContents: WebContents
external interface BrowserWindowConstructorOptions
open external class BrowserWindowProxy : EventEmitter
open class Button : Widget
Module Contents
Button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf())
var block: Boolean
fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button
var disabled: Boolean
protected open fun getSnAttrs(): List<StringPair>
protected open fun getSnClass(): List<StringBoolPair>
var icon: String?
var image: ResString?
open fun onClick(handler: Button.(MouseEvent) -> Unit): Button
protected open fun render(): VNode
var size: ButtonSize?
var style: ButtonStyle
var text: String
var type: ButtonType
open class ButtonGroup : SimplePanel
enum class ButtonGroupSize
enum class ButtonGroupStyle
enum class ButtonSize
enum class ButtonStyle
enum class ButtonsType
enum class ButtonType
open class CallAgent
class CallModule
open class Canvas : Widget
open class Cell : Tag
external interface Certificate
external interface CertificatePrincipal
external interface CertificateTrustDialogOptions
external interface CertificateVerifyProcRequest
open class Chart : Widget
open external class Chart
Module Contents
Chart(context: String, options: Chart.ChartConfiguration)
Chart(context: <ERROR CLASS>, options: Chart.ChartConfiguration)
Chart(context: <ERROR CLASS>, options: Chart.ChartConfiguration)
Chart(context: Array<dynamic>, options: Chart.ChartConfiguration)
interface AngleLineOptions
open var canvas: <ERROR CLASS>?
var Chart: Any?
interface ChartAnimationObject
interface ChartAnimationOptions
interface ChartAnimationParameter
interface ChartArcOptions
open var chartArea: Chart.ChartArea
interface ChartArea
interface ChartConfiguration
interface ChartData
interface ChartDataSets
interface ChartElementsOptions
interface ChartFontOptions
interface ChartHoverOptions
interface ChartLayoutOptions
interface ChartLayoutPaddingObject
interface ChartLegendItem
interface ChartLegendLabelItem : Chart.ChartLegendItem
interface ChartLegendLabelOptions
interface ChartLegendOptions
interface ChartLineOptions
interface ChartOptions
interface ChartPluginsOptions
interface ChartPoint
interface ChartPointOptions
interface ChartRectangleOptions
interface ChartScales
interface ChartSize
interface ChartTitleOptions
interface ChartTooltipCallback
Module Contents
open val afterBody: ((item: Array<Chart.ChartTooltipItem>, data: Chart.ChartData) -> dynamic)?
open val afterFooter: ((item: Array<Chart.ChartTooltipItem>, data: Chart.ChartData) -> dynamic)?
open val afterLabel: ((tooltipItem: Chart.ChartTooltipItem, data: Chart.ChartData) -> dynamic)?
open val afterTitle: ((item: Array<Chart.ChartTooltipItem>, data: Chart.ChartData) -> dynamic)?
open val beforeBody: ((item: Array<Chart.ChartTooltipItem>, data: Chart.ChartData) -> dynamic)?
open val beforeFooter: ((item: Array<Chart.ChartTooltipItem>, data: Chart.ChartData) -> dynamic)?
open val beforeLabel: ((tooltipItem: Chart.ChartTooltipItem, data: Chart.ChartData) -> dynamic)?
open val beforeTitle: ((item: Array<Chart.ChartTooltipItem>, data: Chart.ChartData) -> dynamic)?
open val footer: ((item: Array<Chart.ChartTooltipItem>, data: Chart.ChartData) -> dynamic)?
open val label: ((tooltipItem: Chart.ChartTooltipItem, data: Chart.ChartData) -> dynamic)?
open val labelColor: ((tooltipItem: Chart.ChartTooltipItem, chart: Chart) -> Chart.ChartTooltipLabelColor)?
open val labelTextColor: ((tooltipItem: Chart.ChartTooltipItem, chart: Chart) -> String)?
open val title: ((item: Array<Chart.ChartTooltipItem>, data: Chart.ChartData) -> dynamic)?
interface ChartTooltipItem
interface ChartTooltipLabelColor
interface ChartTooltipOptions
interface ChartTooltipsStaticConfiguration
interface ChartXAxe : Chart.CommonAxe
interface ChartYAxe : Chart.CommonAxe
open fun clear(): Any
interface CommonAxe
open var config: Chart.ChartConfiguration
var controllers: Json
open var ctx: <ERROR CLASS>?
open var data: Chart.ChartData
var defaults: Defaults
open fun destroy(): Any
open fun generateLegend(): Any
open fun getDatasetAtEvent(e: Any): Array<Any>
open fun getDatasetMeta(index: Number): Meta
open fun getElementAtEvent(e: Any): Any
open fun getElementsAtEvent(e: Any): Array<Any>
interface GridLineOptions
var helpers: Json
interface LinearScale : Chart.ChartScales
interface LinearTickOptions : Chart.TickOptions
interface LogarithmicScale : Chart.ChartScales
interface LogarithmicTickOptions : Chart.TickOptions
interface NestedTickOptions
var plugins: PluginServiceStatic
var pluginService: PluginServiceStatic
interface Point
interface PointLabelOptions
interface Positioners
interface RadialChartOptions : Chart.ChartOptions
interface RadialLinearScale : Chart.LinearScale
open fun render(duration: Any? = definedExternally, lazy: Any? = definedExternally): Any
open fun reset(): Any
open fun resize(): Any
interface ScaleTitleOptions
open fun stop(): Any
interface TickOptions : Chart.NestedTickOptions
interface TimeDisplayFormat
interface TimeScale : Chart.ChartScales
open fun toBase64Image(): String
var Tooltip: Chart.ChartTooltipsStaticConfiguration
open fun update(duration: Any? = definedExternally, lazy: Any? = definedExternally): Any
data class ChartScales
enum class ChartType
open class CheckBox : SimplePanel, BoolFormControl
open class CheckBoxInput : CheckInput
enum class CheckBoxStyle
abstract class CheckInput : Widget, FormInput
enum class CheckInputType
enum class Clear
external interface ClearStorageDataOptions
open external class ClientRequest : EventEmitter
Module Contents
ClientRequest(options: String)
ClientRequest(options: String)
ClientRequest(options: String)
ClientRequest(options: String)
ClientRequest(options: String)
ClientRequest(options: String)
ClientRequest(options: String)
ClientRequest(options: String)
ClientRequest(options: String)
ClientRequest(options: String)
open fun abort(): Unit
open fun addListener(event: String, listener: Function<*>): ClientRequest
open fun addListener(event: String, listener: Function<*>): ClientRequest
open fun addListener(event: String, listener: (Error) -> Unit): ClientRequest
open fun addListener(event: String, listener: Function<*>): ClientRequest
open fun addListener(event: String, listener: (authInfo: AuthInfo, callback: (username: String, password: String) -> Unit) -> Unit): ClientRequest
open fun addListener(event: String, listener: (statusCode: Number, method: String, redirectUrl: String, responseHeaders: Any) -> Unit): ClientRequest
open fun addListener(event: String, listener: (response: IncomingMessage) -> Unit): ClientRequest
open var chunkedEncoding: Boolean
open fun end(chunk: String? = definedExternally, encoding: String? = definedExternally, callback: Function<*>? = definedExternally): Unit
open fun end(chunk: <ERROR CLASS>? = definedExternally, encoding: String? = definedExternally, callback: Function<*>? = definedExternally): Unit
open fun end(): Unit
open fun followRedirect(): Unit
open fun getHeader(: String): Header
open fun on(event: String, listener: Function<*>): ClientRequest
open fun on(event: String, listener: Function<*>): ClientRequest
open fun on(event: String, listener: (Error) -> Unit): ClientRequest
open fun on(event: String, listener: Function<*>): ClientRequest
open fun on(event: String, listener: (authInfo: AuthInfo, callback: (username: String, password: String) -> Unit) -> Unit): ClientRequest
open fun on(event: String, listener: (statusCode: Number, method: String, redirectUrl: String, responseHeaders: Any) -> Unit): ClientRequest
open fun on(event: String, listener: (response: IncomingMessage) -> Unit): ClientRequest
open fun once(event: String, listener: Function<*>): ClientRequest
open fun once(event: String, listener: Function<*>): ClientRequest
open fun once(event: String, listener: (Error) -> Unit): ClientRequest
open fun once(event: String, listener: Function<*>): ClientRequest
open fun once(event: String, listener: (authInfo: AuthInfo, callback: (username: String, password: String) -> Unit) -> Unit): ClientRequest
open fun once(event: String, listener: (statusCode: Number, method: String, redirectUrl: String, responseHeaders: Any) -> Unit): ClientRequest
open fun once(event: String, listener: (response: IncomingMessage) -> Unit): ClientRequest
open fun removeHeader(: String): Unit
open fun removeListener(event: String, listener: Function<*>): ClientRequest
open fun removeListener(event: String, listener: Function<*>): ClientRequest
open fun removeListener(event: String, listener: (Error) -> Unit): ClientRequest
open fun removeListener(event: String, listener: Function<*>): ClientRequest
open fun removeListener(event: String, listener: (authInfo: AuthInfo, callback: (username: String, password: String) -> Unit) -> Unit): ClientRequest
open fun removeListener(event: String, listener: (statusCode: Number, method: String, redirectUrl: String, responseHeaders: Any) -> Unit): ClientRequest
open fun removeListener(event: String, listener: (response: IncomingMessage) -> Unit): ClientRequest
open fun setHeader(: String, : Any): Unit
open fun write(chunk: String, encoding: String? = definedExternally, callback: Function<*>? = definedExternally): Unit
open fun write(chunk: <ERROR CLASS>, encoding: String? = definedExternally, callback: Function<*>? = definedExternally): Unit
external interface Clipboard : EventEmitter
Module Contents
abstract fun availableFormats(type: String? = definedExternally): Array<String>
abstract fun clear(type: String? = definedExternally): Unit
abstract fun has(format: String, type: String? = definedExternally): Boolean
abstract fun read(format: String): String
abstract fun readBookmark(): ReadBookmark
abstract fun readBuffer(format: String): <ERROR CLASS>
abstract fun readFindText(): String
abstract fun readHTML(type: String? = definedExternally): String
abstract fun readImage(type: String? = definedExternally): NativeImage
abstract fun readRTF(type: String? = definedExternally): String
abstract fun readText(type: String? = definedExternally): String
abstract fun write(data: Data, type: String? = definedExternally): Unit
abstract fun writeBookmark(title: String, url: String, type: String? = definedExternally): Unit
abstract fun writeBuffer(format: String, buffer: <ERROR CLASS>, type: String? = definedExternally): Unit
abstract fun writeFindText(text: String): Unit
abstract fun writeHTML(markup: String, type: String? = definedExternally): Unit
abstract fun writeImage(image: NativeImage, type: String? = definedExternally): Unit
abstract fun writeRTF(text: String, type: String? = definedExternally): Unit
abstract fun writeText(text: String, type: String? = definedExternally): Unit
open class CloseIcon : Widget
enum class Col
class Color
external interface CommandLine
external interface CommonInterface
interface Component
external interface Config
data class Configuration
open class Confirm : Modal
Module Contents
Confirm(caption: String? = null, text: String? = null, rich: Boolean = false, align: Align? = null, size: ModalSize? = null, animation: Boolean = true, cancelVisible: Boolean = false, yesTitle: String = "Yes", noTitle: String = "No", cancelTitle: String = "Cancel", noCallback: (() -> Unit)? = null, yesCallback: (() -> Unit)? = null)
var align: Align?
var cancelTitle: String
var cancelVisible: Boolean
var noTitle: String
var rich: Boolean
fun show(caption: String? = null, text: String? = null, rich: Boolean = false, align: Align? = null, size: ModalSize? = null, animation: Boolean = true, cancelVisible: Boolean = false, yesTitle: String = "Yes", noTitle: String = "No", cancelTitle: String = "Cancel", noCallback: (() -> Unit)? = null, yesCallback: (() -> Unit)? = null): Unit
var text: String?
var yesTitle: String
external interface ConsoleMessageEvent : Event
interface Container : Component
external interface ContentTracing : EventEmitter
open class ContextMenu : ListTag
external interface ContextMenuParams
external interface Cookie
open external class Cookies : EventEmitter
Module Contents
Cookies()
open fun addListener(event: String, listener: (event: Event, cookie: Cookie, dynamic, removed: Boolean) -> Unit): Cookies
open fun flushStore(callback: Function<*>): Unit
open fun get(filter: Filter, callback: (Error, cookies: Array<Cookie>) -> Unit): Unit
open fun on(event: String, listener: (event: Event, cookie: Cookie, dynamic, removed: Boolean) -> Unit): Cookies
open fun once(event: String, listener: (event: Event, cookie: Cookie, dynamic, removed: Boolean) -> Unit): Cookies
open fun remove(url: String, name: String, callback: Function<*>): Unit
open fun removeListener(event: String, listener: (event: Event, cookie: Cookie, dynamic, removed: Boolean) -> Unit): Cookies
open fun set(details: Details, callback: (Error) -> Unit): Unit
external interface CPUUsage
external interface CrashReport
external interface CrashReporter : EventEmitter
external interface CrashReporterStartOptions
external interface CreateFromBufferOptions
external interface CreateInterruptedDownloadOptions
data class Credentials
typealias CssSize = Pair<Int, UNIT>
external interface Data
interface DataComponent
class DataContainer<M, C : Component, CONT : Container> : Widget, Container, DataUpdatable
Module Contents
DataContainer(model: ObservableList<M>, factory: (M, Int, ObservableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null)
fun add(child: Component): Container
fun addAll(children: List<Component>): Container
fun clearOnUpdate(): DataContainer<M, C, CONT>
fun <M, C : Component, CONT : Container> Container.dataContainer(model: ObservableList<M>, factory: (M, Int, ObservableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT>
fun <M, C : Component> Container.dataContainer(model: ObservableList<M>, factory: (M, Int, ObservableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel>
fun getChildren(): List<Component>
fun onUpdate(handler: () -> Unit): DataContainer<M, C, CONT>
fun remove(child: Component): Container
fun removeAll(): Container
fun update(): Unit
var visible: Boolean
data class DataSets
Module Contents
DataSets(cubicInterpolationMode: InterpolationMode? = null, backgroundColor: List<Color>? = null, borderWidth: List<Int>? = null, borderColor: List<Color>? = null, borderCapStyle: List<LineCap>? = null, borderDash: List<Int>? = null, borderDashOffset: Int? = null, borderJoinStyle: List<LineJoin>? = null, borderSkipped: List<Position>? = null, data: List<dynamic>? = null, fill: Boolean? = null, hoverBackgroundColor: List<Color>? = null, hoverBorderColor: List<Color>? = null, hoverBorderWidth: List<Int>? = null, label: String? = null, lineTension: Number? = null, steppedLine: Boolean? = null, pointBorderColor: List<Color>? = null, pointBackgroundColor: List<Color>? = null, pointBorderWidth: List<Int>? = null, pointRadius: List<Int>? = null, pointHoverRadius: List<Int>? = null, pointHitRadius: List<Int>? = null, pointHoverBackgroundColor: List<Color>? = null, pointHoverBorderColor: List<Color>? = null, pointHoverBorderWidth: List<Int>? = null, pointStyle: List<PointStyle>? = null, xAxisID: String? = null, yAxisID: String? = null, type: ChartType? = null, hidden: Boolean? = null, hideInLegendAndTooltip: Boolean? = null, showLine: Boolean? = null, stack: String? = null, spanGaps: Boolean? = null)
val backgroundColor: List<Color>?
val borderCapStyle: List<LineCap>?
val borderColor: List<Color>?
val borderDash: List<Int>?
val borderDashOffset: Int?
val borderJoinStyle: List<LineJoin>?
val borderSkipped: List<Position>?
val borderWidth: List<Int>?
val cubicInterpolationMode: InterpolationMode?
val data: List<dynamic>?
val fill: Boolean?
val hidden: Boolean?
val hideInLegendAndTooltip: Boolean?
val hoverBackgroundColor: List<Color>?
val hoverBorderColor: List<Color>?
val hoverBorderWidth: List<Int>?
val label: String?
val lineTension: Number?
val pointBackgroundColor: List<Color>?
val pointBorderColor: List<Color>?
val pointBorderWidth: List<Int>?
val pointHitRadius: List<Int>?
val pointHoverBackgroundColor: List<Color>?
val pointHoverBorderColor: List<Color>?
val pointHoverBorderWidth: List<Int>?
val pointHoverRadius: List<Int>?
val pointRadius: List<Int>?
val pointStyle: List<PointStyle>?
val showLine: Boolean?
val spanGaps: Boolean?
val stack: String?
val steppedLine: Boolean?
val type: ChartType?
val xAxisID: String?
val yAxisID: String?
enum class DataType
interface DataUpdatable
interface DateFormControl : FormControl
object DateSerializer : KSerializer<Date>
open class DateTime : SimplePanel, DateFormControl
open class DateTimeInput : Widget, FormInput
enum class DD
open external class Debugger : EventEmitter
Module Contents
Debugger()
open fun addListener(event: String, listener: (event: Event, reason: String) -> Unit): Debugger
open fun addListener(event: String, listener: (event: Event, method: String, params: Any) -> Unit): Debugger
open fun attach(protocolVersion: String? = definedExternally): Unit
open fun detach(): Unit
open fun isAttached(): Boolean
open fun on(event: String, listener: (event: Event, reason: String) -> Unit): Debugger
open fun on(event: String, listener: (event: Event, method: String, params: Any) -> Unit): Debugger
open fun once(event: String, listener: (event: Event, reason: String) -> Unit): Debugger
open fun once(event: String, listener: (event: Event, method: String, params: Any) -> Unit): Debugger
open fun removeListener(event: String, listener: (event: Event, reason: String) -> Unit): Debugger
open fun removeListener(event: String, listener: (event: Event, method: String, params: Any) -> Unit): Debugger
open fun sendCommand(method: String, commandParams: Any? = definedExternally, callback: ((error: Any, result: Any) -> Unit)? = definedExternally): Unit
external interface DefaultFontFamily
class DefaultI18nManager : I18nManager
external interface Defaults
external interface DesktopCapturer : EventEmitter
external interface DesktopCapturerSource
external interface Details
external interface DevToolsExtensions
open class Dialog<R> : Modal
external interface Dialog : EventEmitter
Module Contents
abstract fun showCertificateTrustDialog(browserWindow: BrowserWindow, options: CertificateTrustDialogOptions, callback: Function<*>): Unit
abstract fun showCertificateTrustDialog(options: CertificateTrustDialogOptions, callback: Function<*>): Unit
abstract fun showCertificateTrustDialog(browserWindow: BrowserWindow, options: CertificateTrustDialogOptions, callback: Function<*>): Unit
abstract fun showErrorBox(title: String, content: String): Unit
abstract fun showMessageBox(browserWindow: BrowserWindow, options: MessageBoxOptions, callback: ((response: Number, checkboxChecked: Boolean) -> Unit)? = definedExternally): Number
abstract fun showMessageBox(options: MessageBoxOptions, callback: ((response: Number, checkboxChecked: Boolean) -> Unit)? = definedExternally): Number
abstract fun showOpenDialog(browserWindow: BrowserWindow, options: OpenDialogOptions, callback: ((filePaths: Array<String>, bookmarks: Array<String>) -> Unit)? = definedExternally): Array<String>
abstract fun showOpenDialog(options: OpenDialogOptions, callback: ((filePaths: Array<String>, bookmarks: Array<String>) -> Unit)? = definedExternally): Array<String>
abstract fun showSaveDialog(browserWindow: BrowserWindow, options: SaveDialogOptions, callback: ((filename: String, bookmark: String) -> Unit)? = definedExternally): String
abstract fun showSaveDialog(options: SaveDialogOptions, callback: ((filename: String, bookmark: String) -> Unit)? = definedExternally): String
external interface DidChangeThemeColorEvent : Event
external interface DidFailLoadEvent : Event
external interface DidFrameFinishLoadEvent : Event
external interface DidGetRedirectRequestEvent : Event
external interface DidGetResponseDetailsEvent : Event
external interface DidNavigateEvent : Event
external interface DidNavigateInPageEvent : Event
enum class Direction
enum class Direction
typealias Dispatch<A> = (A) -> <ERROR CLASS>
external interface Display
enum class Display
external interface DisplayBalloonOptions
open class Div : Tag
external interface Dock
open class DockPanel : SimplePanel
open external class DownloadItem : EventEmitter
Module Contents
DownloadItem()
open fun addListener(event: String, listener: (event: Event, dynamic) -> Unit): DownloadItem
open fun addListener(event: String, listener: (event: Event, dynamic) -> Unit): DownloadItem
open fun cancel(): Unit
open fun canResume(): Boolean
open fun getContentDisposition(): String
open fun getETag(): String
open fun getFilename(): String
open fun getLastModifiedTime(): String
open fun getMimeType(): String
open fun getReceivedBytes(): Number
open fun getSavePath(): String
open fun getStartTime(): Number
open fun getState(): dynamic
open fun getTotalBytes(): Number
open fun getURL(): String
open fun getURLChain(): Array<String>
open fun hasUserGesture(): Boolean
open fun isPaused(): Boolean
open fun on(event: String, listener: (event: Event, dynamic) -> Unit): DownloadItem
open fun on(event: String, listener: (event: Event, dynamic) -> Unit): DownloadItem
open fun once(event: String, listener: (event: Event, dynamic) -> Unit): DownloadItem
open fun once(event: String, listener: (event: Event, dynamic) -> Unit): DownloadItem
open fun pause(): Unit
open fun removeListener(event: String, listener: (event: Event, dynamic) -> Unit): DownloadItem
open fun removeListener(event: String, listener: (event: Event, dynamic) -> Unit): DownloadItem
open fun resume(): Unit
open fun setSavePath(path: String): Unit
open class DropDown : SimplePanel
Module Contents
DropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, disabled: Boolean = false, forNavbar: Boolean = false, withCaret: Boolean = true, classes: Set<String> = setOf())
open fun add(child: Component): SimplePanel
open fun addAll(children: List<Component>): SimplePanel
protected open fun afterInsert(node: VNode): Unit
var block: Boolean
fun buttonId(): String?
var disabled: Boolean
fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, disabled: Boolean = false, forNavbar: Boolean = false, withCaret: Boolean = true, classes: Set<String> = setOf(), init: (DropDown.() -> Unit)? = null): DropDown
var dropup: Boolean
val forNavbar: Boolean
open fun getChildren(): List<Component>
protected open fun getSnClass(): List<StringBoolPair>
var icon: String?
var image: ResString?
open fun remove(child: Component): SimplePanel
open fun removeAll(): SimplePanel
protected open fun render(): VNode
var size: ButtonSize?
var style: ButtonStyle
var text: String
open fun toggle(): Unit
open var width: CssSize?
class DummyWebSocketServerSession
class DummyWsSessionModule
external interface EditFlags
enum class Eeasing
data class ElementsOptions
external interface EnableNetworkEmulationOptions
external interface Event
open external class EventEmitter
external interface EventListenerObject
external interface Extensions
external interface Extra
external interface FeedURLOptions
open class FieldLabel : Tag
external interface FileFilter
external interface FileIconOptions
external interface Filter
external interface FindInPageOptions
enum class FlexAlignContent
enum class FlexAlignItems
enum class FlexDir
enum class FlexJustify
open class FlexPanel : SimplePanel
Module Contents
FlexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null)
fun add(child: Component, order: Int? = null, grow: Int? = null, shrink: Int? = null, basis: Int? = null, alignSelf: FlexAlignItems? = null, classes: Set<String> = setOf()): FlexPanel
open fun add(child: Component): FlexPanel
open fun addAll(children: List<Component>): FlexPanel
var alignContent: FlexAlignContent?
var alignItems: FlexAlignItems?
var direction: FlexDir?
fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel
protected open fun getSnStyle(): List<StringPair>
var justify: FlexJustify?
open fun remove(child: Component): FlexPanel
open fun removeAll(): FlexPanel
var spacing: Int?
var wrap: FlexWrap?
enum class FlexWrap
enum class FontStyle
enum class FontVariant
enum class FontWeight
open class Footer : Tag
enum class ForceType
class Form<K : Any>
Module Contents
Form(panel: FormPanel<K>? = null, serializer: KSerializer<K>)
fun <C : StringFormControl> add(key: KProperty1<K, String?>, control: C, required: Boolean = false, requiredMessage: String? = null, validatorMessage: ((C) -> String?)? = null, validator: ((C) -> Boolean?)? = null): Form<K>
fun <C : BoolFormControl> add(key: KProperty1<K, Boolean?>, control: C, required: Boolean = false, requiredMessage: String? = null, validatorMessage: ((C) -> String?)? = null, validator: ((C) -> Boolean?)? = null): Form<K>
fun <C : NumberFormControl> add(key: KProperty1<K, Number?>, control: C, required: Boolean = false, requiredMessage: String? = null, validatorMessage: ((C) -> String?)? = null, validator: ((C) -> Boolean?)? = null): Form<K>
fun <C : DateFormControl> add(key: KProperty1<K, Date?>, control: C, required: Boolean = false, requiredMessage: String? = null, validatorMessage: ((C) -> String?)? = null, validator: ((C) -> Boolean?)? = null): Form<K>
fun <C : KFilesFormControl> add(key: KProperty1<K, List<KFile>?>, control: C, required: Boolean = false, requiredMessage: String? = null, validatorMessage: ((C) -> String?)? = null, validator: ((C) -> Boolean?)? = null): Form<K>
fun clearData(): Unit
inline fun <reified K : Any> create(panel: FormPanel<K>? = null, noinline init: (Form<K>.() -> Unit)? = null): Form<K>
val fields: MutableMap<String, FormControl>
operator fun get(key: KProperty1<K, *>): Any?
fun getControl(key: KProperty1<K, *>): FormControl?
fun getData(): K
fun getDataJson(): Json
val modelFactory: (Map<String, Any?>) -> K
fun remove(key: KProperty1<K, *>): Form<K>
fun removeAll(): Form<K>
fun setData(model: K): Unit
fun validate(): Boolean
interface FormControl : Component
enum class FormEnctype
interface FormInput : Component
enum class FormMethod
open class FormPanel<K : Any> : SimplePanel
Module Contents
FormPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, classes: Set<String> = setOf(), serializer: KSerializer<K>)
var action: String?
open fun <C : StringFormControl> add(key: KProperty1<K, String?>, control: C, required: Boolean = false, requiredMessage: String? = null, validatorMessage: ((C) -> String?)? = null, validator: ((C) -> Boolean?)? = null): FormPanel<K>
open fun <C : BoolFormControl> add(key: KProperty1<K, Boolean?>, control: C, required: Boolean = false, requiredMessage: String? = null, validatorMessage: ((C) -> String?)? = null, validator: ((C) -> Boolean?)? = null): FormPanel<K>
open fun <C : NumberFormControl> add(key: KProperty1<K, Number?>, control: C, required: Boolean = false, requiredMessage: String? = null, validatorMessage: ((C) -> String?)? = null, validator: ((C) -> Boolean?)? = null): FormPanel<K>
open fun <C : DateFormControl> add(key: KProperty1<K, Date?>, control: C, required: Boolean = false, requiredMessage: String? = null, validatorMessage: ((C) -> String?)? = null, validator: ((C) -> Boolean?)? = null): FormPanel<K>
open fun <C : KFilesFormControl> add(key: KProperty1<K, List<KFile>?>, control: C, required: Boolean = false, requiredMessage: String? = null, validatorMessage: ((C) -> String?)? = null, validator: ((C) -> Boolean?)? = null): FormPanel<K>
protected fun <C : FormControl> addInternal(key: KProperty1<K, *>, control: C, required: Boolean = false, requiredMessage: String? = null, validatorMessage: ((C) -> String?)? = null, validator: ((C) -> Boolean?)? = null): FormPanel<K>
var autocomplete: Boolean?
open fun clearData(): Unit
inline fun <reified K : Any> create(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, classes: Set<String> = setOf(), noinline init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K>
var enctype: FormEnctype?
inline fun <reified K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, classes: Set<String> = setOf(), noinline init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K>
operator fun get(key: KProperty1<K, *>): Any?
open fun getControl(key: KProperty1<K, *>): FormControl?
open fun getData(): K
open fun getDataJson(): Json
protected open fun getSnAttrs(): List<StringPair>
protected open fun getSnClass(): List<StringBoolPair>
var method: FormMethod?
var name: String?
var novalidate: Boolean?
open fun remove(key: KProperty1<K, *>): FormPanel<K>
open fun removeAll(): FormPanel<K>
protected open fun render(): VNode
open fun setData(model: K): Unit
var target: FormTarget?
open fun validate(): Boolean
var validator: ((Form<K>) -> Boolean?)?
var validatorMessage: ((Form<K>) -> String?)?
enum class FormTarget
enum class FormType
external interface FoundInPageEvent : Event
external interface FoundInPageResult
external interface FromPartitionOptions
typealias GetState<S> = () -> S
external interface GlobalShortcut : EventEmitter
external interface GPUFeatureStatus
enum class GridAlign
enum class GridAlignContent
enum class GridFlow
enum class GridJustify
enum class GridJustifyContent
data class GridLineOptions
Module Contents
GridLineOptions(display: Boolean = true, color: Color? = null, borderDash: List<Int>? = null, borderDashOffset: Int = 0, lineWidth: Int = 1, drawBorder: Boolean = true, drawOnChartArea: Boolean = true, drawTicks: Boolean = true, tickMarkLength: Int = 10, zeroLineWidth: Int = 1, zeroLineColor: Color? = null, zeroLineBorderDash: List<Int>? = null, zeroLineBorderDashOffset: Int = 0, offsetGridLines: Boolean = false)
val borderDash: List<Int>?
val borderDashOffset: Int
val color: Color?
val display: Boolean
val drawBorder: Boolean
val drawOnChartArea: Boolean
val drawTicks: Boolean
val lineWidth: Int
val offsetGridLines: Boolean
val tickMarkLength: Int
val zeroLineBorderDash: List<Int>?
val zeroLineBorderDashOffset: Int
val zeroLineColor: Color?
val zeroLineWidth: Int
open class GridPanel : SimplePanel
Module Contents
GridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null)
fun add(child: Component, columnStart: Int? = null, rowStart: Int? = null, columnEnd: String? = null, rowEnd: String? = null, area: String? = null, justifySelf: GridJustify? = null, alignSelf: GridAlign? = null, classes: Set<String> = setOf()): GridPanel
open fun add(child: Component): GridPanel
open fun addAll(children: List<Component>): GridPanel
var alignContent: GridAlignContent?
var alignItems: GridAlign?
var autoColumns: String?
var autoFlow: GridFlow?
var autoRows: String?
var columnGap: Int?
protected open fun getSnStyle(): List<StringPair>
fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel
var justifyContent: GridJustifyContent?
var justifyItems: GridJustify?
open fun remove(child: Component): GridPanel
open fun removeAll(): GridPanel
var rowGap: Int?
var templateAreas: List<String>?
var templateColumns: String?
var templateRows: String?
enum class GridSize
class GridWrapper : WidgetWrapper
open class H1 : Tag
open class H2 : Tag
open class H3 : Tag
open class H4 : Tag
open class H5 : Tag
open class H6 : Tag
external interface Header
open class Header : Tag
open class Header : Tag
open class HeaderCell : Tag
external interface Headers
open class HelpBlock : Tag
external interface Hot
data class HoverOptions
open class HPanel : FlexPanel
Module Contents
HPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null)
fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel
enum class HttpMethod
enum class HttpType
object I18n : I18nManager
interface I18nManager
open class Icon : Tag
open class Iframe : Widget
Module Contents
Iframe(src: String? = null, srcdoc: String? = null, name: String? = null, iframeWidth: Int? = null, iframeHeight: Int? = null, sandbox: Set<Sandbox>? = null, classes: Set<String> = setOf())
open fun getIframeWindow(): Window
protected open fun getSnAttrs(): List<StringPair>
fun Container.iframe(src: String? = null, srcdoc: String? = null, name: String? = null, iframeWidth: Int? = null, iframeHeight: Int? = null, sandbox: Set<Sandbox>? = null, classes: Set<String> = setOf(), init: (Iframe.() -> Unit)? = null): Iframe
var iframeHeight: Int?
var iframeWidth: Int?
var location: String?
var name: String?
protected open fun render(): VNode
var sandbox: Set<Sandbox>?
var src: String?
var srcdoc: String?
external interface IgnoreMouseEventsOptions
open class Image : Widget
Module Contents
Image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf())
var alt: String?
var centered: Boolean
protected open fun getSnAttrs(): List<StringPair>
protected open fun getSnClass(): List<StringBoolPair>
fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image
protected open fun render(): VNode
var responsive: Boolean
var shape: ImageShape?
var src: ResString
enum class ImageShape
external interface ImportCertificateOptions
external interface InAppPurchase : EventEmitter
Module Contents
abstract fun addListener(event: String, listener: (event: Event, transactions: Array<Transaction>) -> Unit): InAppPurchase
abstract fun canMakePayments(): Boolean
abstract fun getReceiptURL(): String
abstract fun on(event: String, listener: (event: Event, transactions: Array<Transaction>) -> Unit): InAppPurchase
abstract fun once(event: String, listener: (event: Event, transactions: Array<Transaction>) -> Unit): InAppPurchase
abstract fun purchaseProduct(productID: String, quantity: Number? = definedExternally, callback: ((isProductValid: Boolean) -> Unit)? = definedExternally): Unit
abstract fun removeListener(event: String, listener: (event: Event, transactions: Array<Transaction>) -> Unit): InAppPurchase
open external class IncomingMessage : EventEmitter
Module Contents
IncomingMessage()
open fun addListener(event: String, listener: Function<*>): IncomingMessage
open fun addListener(event: String, listener: (<ERROR CLASS>) -> Unit): IncomingMessage
open fun addListener(event: String, listener: Function<*>): IncomingMessage
open fun addListener(event: String, listener: Function<*>): IncomingMessage
open var headers: Any
open var httpVersion: String
open var httpVersionMajor: Number
open var httpVersionMinor: Number
open fun on(event: String, listener: Function<*>): IncomingMessage
open fun on(event: String, listener: (<ERROR CLASS>) -> Unit): IncomingMessage
open fun on(event: String, listener: Function<*>): IncomingMessage
open fun on(event: String, listener: Function<*>): IncomingMessage
open fun once(event: String, listener: Function<*>): IncomingMessage
open fun once(event: String, listener: (<ERROR CLASS>) -> Unit): IncomingMessage
open fun once(event: String, listener: Function<*>): IncomingMessage
open fun once(event: String, listener: Function<*>): IncomingMessage
open fun removeListener(event: String, listener: Function<*>): IncomingMessage
open fun removeListener(event: String, listener: (<ERROR CLASS>) -> Unit): IncomingMessage
open fun removeListener(event: String, listener: Function<*>): IncomingMessage
open fun removeListener(event: String, listener: Function<*>): IncomingMessage
open var statusCode: Number
open var statusMessage: String
external interface Input
enum class InputSize
enum class InteractionMode
external interface InterceptBufferProtocolRequest
external interface InterceptFileProtocolRequest
external interface InterceptHttpProtocolRequest
external interface InterceptStreamProtocolRequest
external interface InterceptStringProtocolRequest
enum class InterpolationMode
external interface IOCounters
external interface IpcMain : EventEmitter
external interface IpcMessageEvent : Event
external interface IpcRenderer : EventEmitter
external interface Item
external class Jed
object JSON
object JSON
object JsonDateSerializer : KSerializer<Date>
external interface JumpListCategory
external interface JumpListItem
external interface JumpListSettings
data class KFile
interface KFilesFormControl : FormControl
kotlin.Any
kotlin.collections.Map
kotlin.collections.MutableList
kotlin.Int
kotlin.js.Date
kotlin.js.Json
kotlin.Pair
kotlin.String
open class KVController
class KvEvent : CustomEvent
open class KVRemoteAgent<T : Any> : RemoteAgent
Module Contents
KVRemoteAgent(serviceManager: KVServiceManager<T>)
suspend inline fun <reified RET : Any, T> call(noinline function: suspend T.() -> RET): RET
suspend inline fun <reified RET : Any, T> call(noinline function: suspend T.() -> List<RET>): List<RET>
suspend inline fun <reified PAR, reified RET : Any, T> call(noinline function: suspend T.(PAR) -> RET, p: PAR): RET
suspend inline fun <reified PAR, reified RET : Any, T> call(noinline function: suspend T.(PAR) -> List<RET>, p: PAR): List<RET>
suspend inline fun <reified PAR1, reified PAR2, reified RET : Any, T> call(noinline function: suspend T.(PAR1, PAR2) -> RET, p1: PAR1, p2: PAR2): RET
suspend inline fun <reified PAR1, reified PAR2, reified RET : Any, T> call(noinline function: suspend T.(PAR1, PAR2) -> List<RET>, p1: PAR1, p2: PAR2): List<RET>
suspend inline fun <reified PAR1, reified PAR2, reified PAR3, reified RET : Any, T> call(noinline function: suspend T.(PAR1, PAR2, PAR3) -> RET, p1: PAR1, p2: PAR2, p3: PAR3): RET
suspend inline fun <reified PAR1, reified PAR2, reified PAR3, reified RET : Any, T> call(noinline function: suspend T.(PAR1, PAR2, PAR3) -> List<RET>, p1: PAR1, p2: PAR2, p3: PAR3): List<RET>
suspend inline fun <reified PAR1, reified PAR2, reified PAR3, reified PAR4, reified RET : Any, T> call(noinline function: suspend T.(PAR1, PAR2, PAR3, PAR4) -> RET, p1: PAR1, p2: PAR2, p3: PAR3, p4: PAR4): RET
suspend inline fun <reified PAR1, reified PAR2, reified PAR3, reified PAR4, reified RET : Any, T> call(noinline function: suspend T.(PAR1, PAR2, PAR3, PAR4) -> List<RET>, p1: PAR1, p2: PAR2, p3: PAR3, p4: PAR4): List<RET>
suspend inline fun <reified PAR1, reified PAR2, reified PAR3, reified PAR4, reified PAR5, reified RET : Any, T> call(noinline function: suspend T.(PAR1, PAR2, PAR3, PAR4, PAR5) -> RET, p1: PAR1, p2: PAR2, p3: PAR3, p4: PAR4, p5: PAR5): RET
suspend inline fun <reified PAR1, reified PAR2, reified PAR3, reified PAR4, reified PAR5, reified RET : Any, T> call(noinline function: suspend T.(PAR1, PAR2, PAR3, PAR4, PAR5) -> List<RET>, p1: PAR1, p2: PAR2, p3: PAR3, p4: PAR4, p5: PAR5): List<RET>
val callAgent: CallAgent
val serviceManager: KVServiceManager<T>
suspend inline fun <reified PAR1 : Any, reified PAR2 : Any> webSocket(noinline function: suspend T.(<ERROR CLASS><PAR1>, <ERROR CLASS><PAR2>) -> Unit, noinline handler: suspend (<ERROR CLASS><PAR1>, <ERROR CLASS><PAR2>) -> Unit): Unit
suspend inline fun <reified PAR1 : Any, reified PAR2 : Any> webSocket(noinline function: suspend T.(<ERROR CLASS><PAR1>, <ERROR CLASS><List<PAR2>>) -> Unit, noinline handler: suspend (<ERROR CLASS><PAR1>, <ERROR CLASS><List<PAR2>>) -> Unit): Unit
open actual class KVServiceManager<T : Any>
Module Contents
KVServiceManager(serviceClass: KClass<T>)
fun addRoute(method: HttpMethod, path: String, handler: suspend <ERROR CLASS><Unit, <ERROR CLASS>>.(Unit) -> Unit): Unit
fun addRoute(method: HttpMethod, path: String, handler: (<ERROR CLASS>, <ERROR CLASS>, <ERROR CLASS>) -> Unit): Unit
protected actual inline fun <reified RET> bind(noinline function: suspend T.() -> RET, method: HttpMethod, route: String?): Unit
protected actual inline fun <reified PAR, reified RET> bind(noinline function: suspend T.(PAR) -> RET, method: HttpMethod, route: String?): Unit
protected actual inline fun <reified PAR1, reified PAR2, reified RET> bind(noinline function: suspend T.(PAR1, PAR2) -> RET, method: HttpMethod, route: String?): Unit
protected actual inline fun <reified PAR1, reified PAR2, reified PAR3, reified RET> bind(noinline function: suspend T.(PAR1, PAR2, PAR3) -> RET, method: HttpMethod, route: String?): Unit
protected actual inline fun <reified PAR1, reified PAR2, reified PAR3, reified PAR4, reified RET> bind(noinline function: suspend T.(PAR1, PAR2, PAR3, PAR4) -> RET, method: HttpMethod, route: String?): Unit
protected actual inline fun <reified PAR1, reified PAR2, reified PAR3, reified PAR4, reified PAR5, reified RET> bind(noinline function: suspend T.(PAR1, PAR2, PAR3, PAR4, PAR5) -> RET, method: HttpMethod, route: String?): Unit
protected actual fun bind(function: T.(String?, String?) -> List<<ERROR CLASS>>): Unit
protected actual inline fun <reified PAR1 : Any, reified PAR2 : Any> bind(noinline function: suspend T.(<ERROR CLASS><PAR1>, <ERROR CLASS><PAR2>) -> Unit, route: String?): Unit
fun call(method: HttpMethod, path: String, handler: (<ERROR CLASS>, <ERROR CLASS>) -> Unit): <ERROR CLASS>.() -> Unit
protected val calls: MutableMap<String, Pair<String, HttpMethod>>
var counter: Int
val deleteRequests: MutableMap<String, suspend <ERROR CLASS><Unit, <ERROR CLASS>>.(Unit) -> Unit>
fun getCalls(): Map<String, Pair<String, HttpMethod>>
protected inline fun <reified T> getParameter(str: String?): T
val getRequests: MutableMap<String, suspend <ERROR CLASS><Unit, <ERROR CLASS>>.(Unit) -> Unit>
val LOG: <ERROR CLASS>
val mapper: <ERROR CLASS>
val optionsRequests: MutableMap<String, suspend <ERROR CLASS><Unit, <ERROR CLASS>>.(Unit) -> Unit>
val postRequests: MutableMap<String, suspend <ERROR CLASS><Unit, <ERROR CLASS>>.(Unit) -> Unit>
val putRequests: MutableMap<String, suspend <ERROR CLASS><Unit, <ERROR CLASS>>.(Unit) -> Unit>
val routes: MutableList<<ERROR CLASS>.() -> Unit>
val serviceClass: KClass<T>
val webSocketRequests: MutableMap<String, suspend <ERROR CLASS>.() -> Unit>
open class Label : Span
data class LayoutOptions
data class LayoutPaddingObject
data class LegendLabelOptions
Module Contents
LegendLabelOptions(boxWidth: Int = 40, fontSize: Int = 12, fontStyle: FontStyle? = null, fontColor: Color? = null, fontFamily: String? = null, padding: Int = 10, generateLabels: ((chart: Any) -> Any)? = null, filter: ((legendItem: Chart.ChartLegendLabelItem, data: Chart.ChartData) -> Any)? = null, usePointStyle: Boolean = false)
val boxWidth: Int
val filter: ((legendItem: Chart.ChartLegendLabelItem, data: Chart.ChartData) -> Any)?
val fontColor: Color?
val fontFamily: String?
val fontSize: Int
val fontStyle: FontStyle?
val generateLabels: ((chart: Any) -> Any)?
val padding: Int
val usePointStyle: Boolean
data class LegendOptions
Module Contents
LegendOptions(display: Boolean = true, position: Position = Position.TOP, fullWidth: Boolean = true, reverse: Boolean = false, onClick: ((event: MouseEvent, legendItem: Chart.ChartLegendLabelItem) -> Unit)? = null, onHover: ((event: MouseEvent, legendItem: Chart.ChartLegendLabelItem) -> Unit)? = null, labels: LegendLabelOptions? = null)
val display: Boolean
val fullWidth: Boolean
val labels: LegendLabelOptions?
val onClick: ((event: MouseEvent, legendItem: Chart.ChartLegendLabelItem) -> Unit)?
val onHover: ((event: MouseEvent, legendItem: Chart.ChartLegendLabelItem) -> Unit)?
val position: Position
val reverse: Boolean
enum class LineBreak
enum class LineCap
enum class LineJoin
data class LineOptions
Module Contents
LineOptions(cubicInterpolationMode: InterpolationMode = InterpolationMode.DEFAULT, tension: Double = 0.2, backgroundColor: Color? = null, borderWidth: Int = 1, borderColor: Color? = null, borderCapStyle: LineCap? = null, borderDash: List<Any>? = null, borderDashOffset: Int = 0, borderJoinStyle: LineJoin? = null, capBezierPoints: Boolean = true, fill: Boolean = true, stepped: Boolean = false)
val backgroundColor: Color?
val borderCapStyle: LineCap?
val borderColor: Color?
val borderDash: List<Any>?
val borderDashOffset: Int
val borderJoinStyle: LineJoin?
val borderWidth: Int
val capBezierPoints: Boolean
val cubicInterpolationMode: InterpolationMode
val fill: Boolean
val stepped: Boolean
val tension: Double
open class Link : SimplePanel
Module Contents
Link(label: String, url: String? = null, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf())
protected open fun getSnAttrs(): List<StringPair>
var icon: String?
var image: ResString?
var label: String
fun Container.link(label: String, url: String? = null, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf(), init: (Link.() -> Unit)? = null): Link
fun ListTag.linkDisabled(label: String, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf(), init: (Link.() -> Unit)? = null): Link
fun DropDown.linkDisabled(label: String, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf(), init: (Link.() -> Unit)? = null): Link
open fun onClick(handler: Link.(MouseEvent) -> Unit): Link
protected open fun render(): VNode
var url: String?
open class ListTag : SimplePanel
enum class ListType
external interface LoadCommitEvent : Event
external interface LoadURLOptions
external interface LoginItemSettings
external interface LoginItemSettingsOptions
class LoginService
external interface MainInterface : CommonInterface
class MainModule
external interface MediaFlags
external interface MemoryInfo
external interface MemoryUsageDetails
open external class Menu
open external class MenuItem
external interface MenuItemConstructorOptions
external interface MessageBoxOptions
external interface Meta
external interface MetaData
external interface MimeTypedBuffer
open class Modal : SimplePanel
enum class ModalSize
external interface Model
external interface Module
open external class NativeImage
open class Nav : Tag
open class Navbar : SimplePanel
enum class NavbarType
open class NavForm : Tag
external interface Net : EventEmitter
external interface NewWindowEvent : Event
open external class Notification : EventEmitter
Module Contents
Notification(options: NotificationConstructorOptions)
open fun addListener(event: String, listener: (event: Event, index: Number) -> Unit): Notification
open fun addListener(event: String, listener: (event: Event) -> Unit): Notification
open fun addListener(event: String, listener: (event: Event) -> Unit): Notification
open fun addListener(event: String, listener: (event: Event, reply: String) -> Unit): Notification
open fun addListener(event: String, listener: (event: Event) -> Unit): Notification
open fun close(): Unit
fun isSupported(): Boolean
open fun on(event: String, listener: (event: Event, index: Number) -> Unit): Notification
open fun on(event: String, listener: (event: Event) -> Unit): Notification
open fun on(event: String, listener: (event: Event) -> Unit): Notification
open fun on(event: String, listener: (event: Event, reply: String) -> Unit): Notification
open fun on(event: String, listener: (event: Event) -> Unit): Notification
open fun once(event: String, listener: (event: Event, index: Number) -> Unit): Notification
open fun once(event: String, listener: (event: Event) -> Unit): Notification
open fun once(event: String, listener: (event: Event) -> Unit): Notification
open fun once(event: String, listener: (event: Event, reply: String) -> Unit): Notification
open fun once(event: String, listener: (event: Event) -> Unit): Notification
open fun removeListener(event: String, listener: (event: Event, index: Number) -> Unit): Notification
open fun removeListener(event: String, listener: (event: Event) -> Unit): Notification
open fun removeListener(event: String, listener: (event: Event) -> Unit): Notification
open fun removeListener(event: String, listener: (event: Event, reply: String) -> Unit): Notification
open fun removeListener(event: String, listener: (event: Event) -> Unit): Notification
open fun show(): Unit
external interface NotificationAction
external interface NotificationConstructorOptions
interface NumberFormControl : FormControl
external class Object
external class Object
external interface OnBeforeRedirectDetails
external interface OnBeforeRedirectFilter
external interface OnBeforeRequestDetails
external interface OnBeforeRequestFilter
external interface OnBeforeSendHeadersFilter
external interface OnCompletedDetails
external interface OnCompletedFilter
external interface OnErrorOccurredDetails
external interface OnErrorOccurredFilter
external interface OnHeadersReceivedFilter
external interface OnResponseStartedDetails
external interface OnResponseStartedFilter
external interface OnSendHeadersDetails
external interface OnSendHeadersFilter
external interface OpenDevToolsOptions
external interface OpenDialogOptions
external interface OpenExternalOptions
data class Options
Module Contents
Options(responsive: Boolean = true, responsiveAnimationDuration: Int = 0, aspectRatio: Int = 2, maintainAspectRatio: Boolean = true, onResize: ((chart: Chart, newSize: Chart.ChartSize) -> Unit)? = null, devicePixelRatio: Int? = null, hover: HoverOptions? = null, events: List<String>? = null, onHover: ((chart: Chart, event: MouseEvent, activeElements: Array<Any>) -> Any)? = null, onClick: ((chart: Chart, event: MouseEvent, activeElements: Array<Any>) -> Any)? = null, animation: AnimationOptions? = null, layout: LayoutOptions? = null, legend: LegendOptions? = null, legendCallback: ((chart: Chart) -> String)? = null, title: TitleOptions? = null, tooltips: TooltipOptions? = null, elements: ElementsOptions? = null, scales: ChartScales? = null, showLines: Boolean? = null, spanGaps: Boolean? = null, cutoutPercentage: Int? = null, circumference: Double? = null, rotation: Double? = null)
val animation: AnimationOptions?
val aspectRatio: Int
val circumference: Double?
val cutoutPercentage: Int?
val devicePixelRatio: Int?
val elements: ElementsOptions?
val events: List<String>?
val hover: HoverOptions?
val layout: LayoutOptions?
val legend: LegendOptions?
val legendCallback: ((chart: Chart) -> String)?
val maintainAspectRatio: Boolean
val onClick: ((chart: Chart, event: MouseEvent, activeElements: Array<Any>) -> Any)?
val onHover: ((chart: Chart, event: MouseEvent, activeElements: Array<Any>) -> Any)?
val onResize: ((chart: Chart, newSize: Chart.ChartSize) -> Unit)?
val responsive: Boolean
val responsiveAnimationDuration: Int
val rotation: Double?
val scales: ChartScales?
val showLines: Boolean?
val spanGaps: Boolean?
val title: TitleOptions?
val tooltips: TooltipOptions?
external interface Options
org.w3c.files.File
enum class Overflow
enum class OverflowWrap
open class P : Tag
external interface PageFaviconUpdatedEvent : Event
external interface PageTitleUpdatedEvent : Event
external interface Parameters
open class Password : Text
external interface Payment
external interface PermissionRequestHandlerDetails
enum class Placement
external interface PluginCrashedEvent : Event
external interface PluginServiceGlobalRegistration
external interface PluginServiceRegistrationOptions
Module Contents
open val afterDatasetDraw: ((chartInstance: Chart, easing: String, options: Any?) -> Unit)?
open val afterDatasetsDraw: ((chartInstance: Chart, easing: String, options: Any?) -> Unit)?
open val afterDatasetsUpdate: ((chartInstance: Chart, options: Any?) -> Unit)?
open val afterDatasetUpdate: ((chartInstance: Chart, options: Any?) -> Unit)?
open val afterDraw: ((chartInstance: Chart, easing: String, options: Any?) -> Unit)?
open val afterEvent: ((chartInstance: Chart, event: Event, options: Any?) -> Unit)?
open val afterInit: ((chartInstance: Chart, options: Any?) -> Unit)?
open val afterLayout: ((chartInstance: Chart, options: Any?) -> Unit)?
open val afterRender: ((chartInstance: Chart, options: Any?) -> Unit)?
open val afterScaleUpdate: ((chartInstance: Chart, options: Any?) -> Unit)?
open val afterTooltipDraw: ((chartInstance: Chart, tooltipData: Any?, options: Any?) -> Unit)?
open val afterUpdate: ((chartInstance: Chart, options: Any?) -> Unit)?
open val beforeDatasetDraw: ((chartInstance: Chart, easing: String, options: Any?) -> Unit)?
open val beforeDatasetsDraw: ((chartInstance: Chart, easing: String, options: Any?) -> Unit)?
open val beforeDatasetsUpdate: ((chartInstance: Chart, options: Any?) -> Unit)?
open val beforeDatasetUpdate: ((chartInstance: Chart, options: Any?) -> Unit)?
open val beforeDraw: ((chartInstance: Chart, easing: String, options: Any?) -> Unit)?
open val beforeEvent: ((chartInstance: Chart, event: Event, options: Any?) -> Unit)?
open val beforeInit: ((chartInstance: Chart, options: Any?) -> Unit)?
open val beforeLayout: ((chartInstance: Chart, options: Any?) -> Unit)?
open val beforeRender: ((chartInstance: Chart, options: Any?) -> Unit)?
open val beforeTooltipDraw: ((chartInstance: Chart, tooltipData: Any?, options: Any?) -> Unit)?
open val beforeUpdate: ((chartInstance: Chart, options: Any?) -> Unit)?
open val destroy: ((chartInstance: Chart) -> Unit)?
open val resize: ((chartInstance: Chart, newChartSize: Chart.ChartSize, options: Any?) -> Unit)?
open external class PluginServiceStatic
external interface Point
data class PointOptions
enum class PointStyle
data class PopoverOptions
external interface PopupOptions
enum class PosFloat
enum class Position
enum class Position
external interface PowerMonitor : EventEmitter
Module Contents
abstract fun addListener(event: String, listener: Function<*>): PowerMonitor
abstract fun addListener(event: String, listener: Function<*>): PowerMonitor
abstract fun addListener(event: String, listener: Function<*>): PowerMonitor
abstract fun addListener(event: String, listener: Function<*>): PowerMonitor
abstract fun addListener(event: String, listener: Function<*>): PowerMonitor
abstract fun on(event: String, listener: Function<*>): PowerMonitor
abstract fun on(event: String, listener: Function<*>): PowerMonitor
abstract fun on(event: String, listener: Function<*>): PowerMonitor
abstract fun on(event: String, listener: Function<*>): PowerMonitor
abstract fun on(event: String, listener: Function<*>): PowerMonitor
abstract fun once(event: String, listener: Function<*>): PowerMonitor
abstract fun once(event: String, listener: Function<*>): PowerMonitor
abstract fun once(event: String, listener: Function<*>): PowerMonitor
abstract fun once(event: String, listener: Function<*>): PowerMonitor
abstract fun once(event: String, listener: Function<*>): PowerMonitor
abstract fun removeListener(event: String, listener: Function<*>): PowerMonitor
abstract fun removeListener(event: String, listener: Function<*>): PowerMonitor
abstract fun removeListener(event: String, listener: Function<*>): PowerMonitor
abstract fun removeListener(event: String, listener: Function<*>): PowerMonitor
abstract fun removeListener(event: String, listener: Function<*>): PowerMonitor
external interface PowerSaveBlocker : EventEmitter
external interface PrinterInfo
external interface PrintOptions
external interface PrintToPDFOptions
external interface Process : EventEmitter
external interface ProcessMemoryInfo
external interface ProcessMetric
external interface ProcessVersions
open class ProgressBar : SimplePanel
Module Contents
ProgressBar(progress: Int, min: Int = DEFAULT_MIN, max: Int = DEFAULT_MAX, style: ProgressBarStyle? = null, striped: Boolean = false, animated: Boolean = false, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (ProgressBar.() -> Unit)? = null)
var align: Align?
var animated: Boolean
var content: String?
var max: Int
var min: Int
var progress: Int
fun Container.progressBar(progress: Int, min: Int = DEFAULT_MIN, max: Int = DEFAULT_MAX, style: ProgressBarStyle? = null, striped: Boolean = false, animated: Boolean = false, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (ProgressBar.() -> Unit)? = null): ProgressBar
var rich: Boolean
var striped: Boolean
var style: ProgressBarStyle?
external interface ProgressBarOptions
enum class ProgressBarStyle
external interface Protocol : EventEmitter
Module Contents
abstract fun interceptBufferProtocol(scheme: String, handler: (request: InterceptBufferProtocolRequest, callback: (<ERROR CLASS>?) -> Unit) -> Unit, completion: ((Error) -> Unit)? = definedExternally): Unit
abstract fun interceptFileProtocol(scheme: String, handler: (request: InterceptFileProtocolRequest, callback: (filePath: String) -> Unit) -> Unit, completion: ((Error) -> Unit)? = definedExternally): Unit
abstract fun interceptHttpProtocol(scheme: String, handler: (request: InterceptHttpProtocolRequest, callback: (redirectRequest: RedirectRequest) -> Unit) -> Unit, completion: ((Error) -> Unit)? = definedExternally): Unit
abstract fun interceptStreamProtocol(scheme: String, handler: (request: InterceptStreamProtocolRequest, callback: (dynamic) -> Unit) -> Unit, completion: ((Error) -> Unit)? = definedExternally): Unit
abstract fun interceptStringProtocol(scheme: String, handler: (request: InterceptStringProtocolRequest, callback: (data: String?) -> Unit) -> Unit, completion: ((Error) -> Unit)? = definedExternally): Unit
abstract fun isProtocolHandled(scheme: String, callback: (Error) -> Unit): Unit
abstract fun registerBufferProtocol(scheme: String, handler: (request: RegisterBufferProtocolRequest, callback: (dynamic) -> Unit) -> Unit, completion: ((Error) -> Unit)? = definedExternally): Unit
abstract fun registerFileProtocol(scheme: String, handler: (request: RegisterFileProtocolRequest, callback: (filePath: String?) -> Unit) -> Unit, completion: ((Error) -> Unit)? = definedExternally): Unit
abstract fun registerHttpProtocol(scheme: String, handler: (request: RegisterHttpProtocolRequest, callback: (redirectRequest: RedirectRequest) -> Unit) -> Unit, completion: ((Error) -> Unit)? = definedExternally): Unit
abstract fun registerServiceWorkerSchemes(schemes: Array<String>): Unit
abstract fun registerStandardSchemes(schemes: Array<String>, options: RegisterStandardSchemesOptions? = definedExternally): Unit
abstract fun registerStreamProtocol(scheme: String, handler: (request: RegisterStreamProtocolRequest, callback: (dynamic) -> Unit) -> Unit, completion: ((Error) -> Unit)? = definedExternally): Unit
abstract fun registerStringProtocol(scheme: String, handler: (request: RegisterStringProtocolRequest, callback: (data: String?) -> Unit) -> Unit, completion: ((Error) -> Unit)? = definedExternally): Unit
abstract fun uninterceptProtocol(scheme: String, completion: ((Error) -> Unit)? = definedExternally): Unit
abstract fun unregisterProtocol(scheme: String, completion: ((Error) -> Unit)? = definedExternally): Unit
external interface Provider
open class Radio : SimplePanel, BoolFormControl
open class RadioGroup : SimplePanel, StringFormControl
Module Contents
RadioGroup(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, label: String? = null, rich: Boolean = false)
open fun blur(): Unit
open var disabled: Boolean
val flabel: FieldLabel
open fun focus(): Unit
protected open fun getSnClass(): List<StringBoolPair>
var inline: Boolean
val input: RadioInput
var label: String?
open var name: String?
var options: List<StringPair>?
fun Container.radioGroup(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, label: String? = null, rich: Boolean = false, init: (RadioGroup.() -> Unit)? = null): RadioGroup
var rich: Boolean
open var size: InputSize?
val validationInfo: HelpBlock
open var value: String?
open class RadioGroupInput : SimplePanel, FormInput
open class RadioInput : CheckInput
enum class RadioStyle
external interface ReadBookmark
external interface Rectangle
data class RectangleOptions
external interface RedirectRequest
class ReduxStore<S : Any, A>
external interface RegisterBufferProtocolRequest
external interface RegisterFileProtocolRequest
external interface RegisterHttpProtocolRequest
external interface RegisterStandardSchemesOptions
external interface RegisterStreamProtocolRequest
external interface RegisterStringProtocolRequest
external interface RegisterURLSchemeAsPrivilegedOptions
external interface RelaunchOptions
external interface Remote : MainInterface
interface RemoteAgent
open class RemoteSelect<T : Any> : SimplePanel, StringFormControl
Module Contents
RemoteSelect(value: String? = null, serviceManager: KVServiceManager<T>, function: T.(String?, String?) -> List<<ERROR CLASS>>, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false)
open fun add(child: Component): SimplePanel
open fun addAll(children: List<Component>): SimplePanel
var autofocus: Boolean?
open fun blur(): Unit
var emptyOption: Boolean
val flabel: FieldLabel
open fun focus(): Unit
open fun getChildren(): List<Component>
protected open fun getSnClass(): List<StringBoolPair>
open fun hideOptions(): Unit
val input: RemoteSelectInput<T>
var label: String?
var maxOptions: Int?
var multiple: Boolean
var placeholder: String?
fun <T : Any> Container.remoteSelect(value: String? = null, serviceManager: KVServiceManager<T>, function: T.(String?, String?) -> List<<ERROR CLASS>>, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: (RemoteSelect<T>.() -> Unit)? = null): RemoteSelect<T>
open fun remove(child: Component): SimplePanel
open fun removeAll(): SimplePanel
open fun removeEventListeners(): Widget
var rich: Boolean
var selectWidth: CssSize?
var selectWidthType: SelectWidthType?
open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
open fun showOptions(): Unit
var style: ButtonStyle?
open fun toggleOptions(): Unit
val validationInfo: HelpBlock
open var value: String?
open class RemoteSelectInput<T : Any> : SelectInput
Module Contents
RemoteSelectInput(value: String? = null, serviceManager: KVServiceManager<T>, function: T.(String?, String?) -> List<<ERROR CLASS>>, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf())
fun <T : Any> Container.remoteSelectInput(value: String? = null, serviceManager: KVServiceManager<T>, function: T.(String?, String?) -> List<<ERROR CLASS>>, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (RemoteSelectInput<T>.() -> Unit)? = null): RemoteSelectInput<T>
external interface RemoveClientCertificate
external interface RemovePassword
external interface RendererInterface : CommonInterface
external interface Request
external interface RequestHeaders
enum class Resize
external interface ResizeOptions
external interface ResourceUsage
external interface Response
external interface ResponseHeaders
open class ResponsiveGridPanel : SimplePanel
Module Contents
ResponsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null)
open fun add(child: Component, col: Int, row: Int, size: Int = 0, offset: Int = 0): ResponsiveGridPanel
open fun add(child: Component): ResponsiveGridPanel
open fun addAll(children: List<Component>): ResponsiveGridPanel
var align: Align?
open fun remove(child: Component): ResponsiveGridPanel
open fun removeAt(col: Int, row: Int): ResponsiveGridPanel
fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel
typealias ResString = String
open class RestClient
Module Contents
RestClient()
inline fun <reified T : Any> call(url: String, data: dynamic = null, method: HttpMethod = HttpMethod.GET, contentType: String = "application/json", noinline beforeSend: ((JQueryXHR, JQueryAjaxSettings) -> Boolean)? = null, noinline transform: ((dynamic) -> dynamic)? = null): Promise<T>
inline fun <reified V : Any> call(url: String, data: V, method: HttpMethod = HttpMethod.GET, contentType: String = "application/json", noinline beforeSend: ((JQueryXHR, JQueryAjaxSettings) -> Boolean)? = null): Promise<dynamic>
inline fun <T : Any, reified V : Any> call(url: String, data: V, deserializer: DeserializationStrategy<T>, method: HttpMethod = HttpMethod.GET, contentType: String = "application/json", noinline beforeSend: ((JQueryXHR, JQueryAjaxSettings) -> Boolean)? = null, noinline transform: ((dynamic) -> dynamic)? = null): Promise<T>
inline fun <reified T : Any, V : Any> call(url: String, serializer: SerializationStrategy<V>, data: V, method: HttpMethod = HttpMethod.GET, contentType: String = "application/json", noinline beforeSend: ((JQueryXHR, JQueryAjaxSettings) -> Boolean)? = null, noinline transform: ((dynamic) -> dynamic)? = null): Promise<T>
inline fun <reified T : Any, reified V : Any> call(url: String, data: V, method: HttpMethod = HttpMethod.GET, contentType: String = "application/json", noinline beforeSend: ((JQueryXHR, JQueryAjaxSettings) -> Boolean)? = null, noinline transform: ((dynamic) -> dynamic)? = null): Promise<T>
fun remoteCall(url: String, data: dynamic = null, method: HttpMethod = HttpMethod.GET, contentType: String = "application/json", beforeSend: ((JQueryXHR, JQueryAjaxSettings) -> Boolean)? = null): Promise<dynamic>
fun <T : Any> remoteCall(url: String, data: dynamic = null, deserializer: DeserializationStrategy<T>, method: HttpMethod = HttpMethod.GET, contentType: String = "application/json", beforeSend: ((JQueryXHR, JQueryAjaxSettings) -> Boolean)? = null, transform: ((dynamic) -> dynamic)? = null): Promise<T>
fun <V : Any> remoteCall(url: String, serializer: SerializationStrategy<V>, data: V, method: HttpMethod = HttpMethod.GET, contentType: String = "application/json", beforeSend: ((JQueryXHR, JQueryAjaxSettings) -> Boolean)? = null): Promise<dynamic>
fun <T : Any, V : Any> remoteCall(url: String, serializer: SerializationStrategy<V>, data: V, deserializer: DeserializationStrategy<T>, method: HttpMethod = HttpMethod.GET, contentType: String = "application/json", beforeSend: ((JQueryXHR, JQueryAjaxSettings) -> Boolean)? = null, transform: ((dynamic) -> dynamic)? = null): Promise<T>
external interface Result
open class RichText : AbstractText
open class RichTextInput : AbstractTextInput
class Root : SimplePanel
open class Routing
open class Row : Tag
enum class Sandbox
external interface SaveDialogOptions
enum class ScalesType
data class ScaleTitleOptions
external interface Screen : EventEmitter
Module Contents
abstract fun addListener(event: String, listener: (event: Event, newDisplay: Display) -> Unit): Screen
abstract fun addListener(event: String, listener: (event: Event, display: Display, changedMetrics: Array<String>) -> Unit): Screen
abstract fun addListener(event: String, listener: (event: Event, oldDisplay: Display) -> Unit): Screen
abstract fun getAllDisplays(): Array<Display>
abstract fun getCursorScreenPoint(): Point
abstract fun getDisplayMatching(rect: Rectangle): Display
abstract fun getDisplayNearestPoint(point: Point): Display
abstract fun getMenuBarHeight(): Number
abstract fun getPrimaryDisplay(): Display
abstract fun on(event: String, listener: (event: Event, newDisplay: Display) -> Unit): Screen
abstract fun on(event: String, listener: (event: Event, display: Display, changedMetrics: Array<String>) -> Unit): Screen
abstract fun on(event: String, listener: (event: Event, oldDisplay: Display) -> Unit): Screen
abstract fun once(event: String, listener: (event: Event, newDisplay: Display) -> Unit): Screen
abstract fun once(event: String, listener: (event: Event, display: Display, changedMetrics: Array<String>) -> Unit): Screen
abstract fun once(event: String, listener: (event: Event, oldDisplay: Display) -> Unit): Screen
abstract fun removeListener(event: String, listener: (event: Event, newDisplay: Display) -> Unit): Screen
abstract fun removeListener(event: String, listener: (event: Event, display: Display, changedMetrics: Array<String>) -> Unit): Screen
abstract fun removeListener(event: String, listener: (event: Event, oldDisplay: Display) -> Unit): Screen
external interface ScrubberItem
open class Section : Tag
class SecurityException : Exception
abstract class SecurityMgr
external interface SegmentedControlSegment
open class Select : SimplePanel, StringFormControl
Module Contents
Select(options: List<StringPair>? = null, value: String? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false)
open fun add(child: Component): SimplePanel
open fun addAll(children: List<Component>): SimplePanel
var ajaxOptions: AjaxOptions?
var autofocus: Boolean?
open fun blur(): Unit
var emptyOption: Boolean
val flabel: FieldLabel
open fun focus(): Unit
open fun getChildren(): List<Component>
protected open fun getSnClass(): List<StringBoolPair>
open fun hideOptions(): Unit
val input: SelectInput
var label: String?
var liveSearch: Boolean
var maxOptions: Int?
var multiple: Boolean
var options: List<StringPair>?
var placeholder: String?
open fun remove(child: Component): SimplePanel
open fun removeAll(): SimplePanel
open fun removeEventListeners(): Widget
var rich: Boolean
fun Container.select(options: List<StringPair>? = null, value: String? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: (Select.() -> Unit)? = null): Select
var selectWidth: CssSize?
var selectWidthType: SelectWidthType?
open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
open fun showOptions(): Unit
var style: ButtonStyle?
open fun toggleOptions(): Unit
val validationInfo: HelpBlock
open var value: String?
open class SelectInput : SimplePanel, FormInput
external interface SelectionArea
open class SelectOptGroup : SimplePanel
Module Contents
SelectOptGroup(label: String, options: List<StringPair>? = null, maxOptions: Int? = null, disabled: Boolean = false, classes: Set<String> = setOf())
var disabled: Boolean
protected open fun getSnAttrs(): List<StringPair>
var label: String
var maxOptions: Int?
var options: List<StringPair>?
protected open fun render(): VNode
fun Select.selectOptGroup(label: String, options: List<StringPair>? = null, maxOptions: Int? = null, disabled: Boolean = false, classes: Set<String> = setOf(), init: (SelectOptGroup.() -> Unit)? = null): SelectOptGroup
fun SelectInput.selectOptGroup(label: String, options: List<StringPair>? = null, maxOptions: Int? = null, disabled: Boolean = false, classes: Set<String> = setOf(), init: (SelectOptGroup.() -> Unit)? = null): SelectOptGroup
open class SelectOption : Widget
Module Contents
SelectOption(value: String? = null, label: String? = null, subtext: String? = null, icon: String? = null, divider: Boolean = false, disabled: Boolean = false, selected: Boolean = false, classes: Set<String> = setOf())
var disabled: Boolean
var divider: Boolean
protected open fun getSnAttrs(): List<StringPair>
var icon: String?
var label: String?
protected open fun render(): VNode
var selected: Boolean
fun Select.selectOption(value: String? = null, label: String? = null, subtext: String? = null, icon: String? = null, divider: Boolean = false, disabled: Boolean = false, selected: Boolean = false, classes: Set<String> = setOf(), init: (SelectOption.() -> Unit)? = null): SelectOption
fun SelectInput.selectOption(value: String? = null, label: String? = null, subtext: String? = null, icon: String? = null, divider: Boolean = false, disabled: Boolean = false, selected: Boolean = false, classes: Set<String> = setOf(), init: (SelectOption.() -> Unit)? = null): SelectOption
fun SelectOptGroup.selectOption(value: String? = null, label: String? = null, subtext: String? = null, icon: String? = null, divider: Boolean = false, disabled: Boolean = false, selected: Boolean = false, classes: Set<String> = setOf(), init: (SelectOption.() -> Unit)? = null): SelectOption
var subtext: String?
var value: String?
enum class SelectWidthType
open class Separator : Tag
open external class Session : EventEmitter
Module Contents
Session()
open fun addListener(event: String, listener: (event: Event, item: DownloadItem, webContents: WebContents) -> Unit): Session
open fun allowNTLMCredentialsForDomains(domains: String): Unit
open fun clearAuthCache(options: RemovePassword, callback: Function<*>? = definedExternally): Unit
open fun clearAuthCache(options: RemoveClientCertificate, callback: Function<*>? = definedExternally): Unit
open fun clearCache(callback: Function<*>): Unit
open fun clearHostResolverCache(callback: Function<*>? = definedExternally): Unit
open fun clearStorageData(options: ClearStorageDataOptions? = definedExternally, callback: Function<*>? = definedExternally): Unit
open var cookies: Cookies
open fun createInterruptedDownload(options: CreateInterruptedDownloadOptions): Unit
var defaultSession: Session
open fun disableNetworkEmulation(): Unit
open fun enableNetworkEmulation(options: EnableNetworkEmulationOptions): Unit
open fun flushStorageData(): Unit
fun fromPartition(partition: String, options: FromPartitionOptions? = definedExternally): Session
open fun getBlobData(identifier: String, callback: (<ERROR CLASS>) -> Unit): Unit
open fun getCacheSize(callback: (size: Number) -> Unit): Unit
open fun getPreloads(): Array<String>
open fun getUserAgent(): String
open fun on(event: String, listener: (event: Event, item: DownloadItem, webContents: WebContents) -> Unit): Session
open fun once(event: String, listener: (event: Event, item: DownloadItem, webContents: WebContents) -> Unit): Session
open var protocol: Protocol
open fun removeListener(event: String, listener: (event: Event, item: DownloadItem, webContents: WebContents) -> Unit): Session
open fun resolveProxy(url: String, callback: (proxy: String) -> Unit): Unit
open fun setCertificateVerifyProc(proc: (request: CertificateVerifyProcRequest, callback: (verificationResult: Number) -> Unit) -> Unit): Unit
open fun setDownloadPath(path: String): Unit
open fun setPermissionRequestHandler(handler: (webContents: WebContents, permission: String, callback: (permissionGranted: Boolean) -> Unit, details: PermissionRequestHandlerDetails) -> Unit?): Unit
open fun setPreloads(preloads: Array<String>): Unit
open fun setProxy(config: Config, callback: Function<*>): Unit
open fun setUserAgent(userAgent: String, acceptLanguages: String? = definedExternally): Unit
open var webRequest: WebRequest
external interface Settings
external interface Shell
external interface ShortcutDetails
enum class Side
enum class SideTabSize
class SimpleI18nManager : I18nManager
open class SimplePanel : Widget, Container
external interface Size
external interface SizeOptions
class Socket
class SocketClosedException : Throwable
enum class SorterType
external interface SourcesOptions
open class Span : Tag
open class Spinner : SimplePanel, NumberFormControl
Module Contents
Spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, label: String? = null, rich: Boolean = false)
var autofocus: Boolean?
open fun blur(): Unit
var buttonsType: ButtonsType
var decimals: Int
val flabel: FieldLabel
open fun focus(): Unit
var forceType: ForceType
protected open fun getSnClass(): List<StringBoolPair>
open fun getValueAsString(): String?
protected val idc: String
val input: SpinnerInput
var label: String?
var max: Int?
var min: Int?
var placeholder: String?
var readonly: Boolean?
open fun removeEventListeners(): Widget
var rich: Boolean
open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
open fun spinDown(): Spinner
fun Container.spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, label: String? = null, rich: Boolean = false, init: (Spinner.() -> Unit)? = null): Spinner
open fun spinUp(): Spinner
var startValue: Number?
var step: Double
val validationInfo: HelpBlock
open var value: Number?
open class SpinnerInput : Widget, FormInput
Module Contents
SpinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, classes: Set<String> = setOf())
protected open fun afterDestroy(): Unit
protected open fun afterInsert(node: VNode): Unit
var autofocus: Boolean?
open fun blur(): Unit
var buttonsType: ButtonsType
protected open fun changeValue(): Unit
var decimals: Int
open var disabled: Boolean
open fun focus(): Unit
var forceType: ForceType
protected open fun getSnAttrs(): List<StringPair>
protected open fun getSnClass(): List<StringBoolPair>
fun getValueAsString(): String?
var max: Int?
var min: Int?
open var name: String?
var placeholder: String?
var readonly: Boolean?
protected open fun render(): VNode
open var size: InputSize?
fun spinDown(): SpinnerInput
fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput
fun spinUp(): SpinnerInput
var startValue: Number?
var step: Double
var value: Number?
open class SplitPanel : SimplePanel
open class StackPanel : SimplePanel
external interface StartMonitoringOptions
external interface StartRecordingOptions
class StateBinding<S : Any, A, CONT : Container, CONTENT> : Widget
Module Contents
StateBinding(store: ReduxStore<S, A>, container: CONT, factory: CONT.(S) -> CONTENT)
fun <S : Any, A, CONT : Container> CONT.stateBinding(store: ReduxStore<S, A>, factory: CONT.(S) -> Unit): StateBinding<S, A, CONT, Unit>
fun <S : Any, A, CONT : Container, CONTENT> CONT.stateUpdate(store: ReduxStore<S, A>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT>
fun update(state: S): Unit
external interface StreamProtocolResponse
typealias StringBoolPair = Pair<String, Boolean>
interface StringFormControl : FormControl
typealias StringPair = Pair<String, String>
open class Style : StyledComponent
abstract class StyledComponent : Component
external interface SystemMemoryInfo
external interface SystemPreferences : EventEmitter
Module Contents
abstract fun addListener(event: String, listener: (event: Event, newColor: String) -> Unit): SystemPreferences
abstract fun addListener(event: String, listener: (event: Event) -> Unit): SystemPreferences
abstract fun addListener(event: String, listener: (event: Event, invertedColorScheme: Boolean) -> Unit): SystemPreferences
abstract fun getAccentColor(): String
abstract fun getColor(color: dynamic): String
abstract fun getUserDefault(key: String, type: String): Any
abstract fun getUserDefault(key: String, type: String): Any
abstract fun getUserDefault(key: String, type: String): Any
abstract fun getUserDefault(key: String, type: String): Any
abstract fun getUserDefault(key: String, type: String): Any
abstract fun getUserDefault(key: String, type: String): Any
abstract fun getUserDefault(key: String, type: String): Any
abstract fun getUserDefault(key: String, type: String): Any
abstract fun isAeroGlassEnabled(): Boolean
abstract fun isDarkMode(): Boolean
abstract fun isInvertedColorScheme(): Boolean
abstract fun isSwipeTrackingFromScrollEventsEnabled(): Boolean
abstract fun on(event: String, listener: (event: Event, newColor: String) -> Unit): SystemPreferences
abstract fun on(event: String, listener: (event: Event) -> Unit): SystemPreferences
abstract fun on(event: String, listener: (event: Event, invertedColorScheme: Boolean) -> Unit): SystemPreferences
abstract fun once(event: String, listener: (event: Event, newColor: String) -> Unit): SystemPreferences
abstract fun once(event: String, listener: (event: Event) -> Unit): SystemPreferences
abstract fun once(event: String, listener: (event: Event, invertedColorScheme: Boolean) -> Unit): SystemPreferences
abstract fun postLocalNotification(event: String, userInfo: Any): Unit
abstract fun postNotification(event: String, userInfo: Any): Unit
abstract fun registerDefaults(defaults: Any): Unit
abstract fun removeListener(event: String, listener: (event: Event, newColor: String) -> Unit): SystemPreferences
abstract fun removeListener(event: String, listener: (event: Event) -> Unit): SystemPreferences
abstract fun removeListener(event: String, listener: (event: Event, invertedColorScheme: Boolean) -> Unit): SystemPreferences
abstract fun removeUserDefault(key: String): Unit
abstract fun setUserDefault(key: String, type: String, value: String): Unit
abstract fun subscribeLocalNotification(event: String, callback: (event: String, userInfo: Any) -> Unit): Unit
abstract fun subscribeNotification(event: String, callback: (event: String, userInfo: Any) -> Unit): Unit
abstract fun unsubscribeLocalNotification(id: Number): Unit
abstract fun unsubscribeNotification(id: Number): Unit
open class Table : SimplePanel
Module Contents
Table(: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsive: Boolean = false, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null)
open fun add(child: Component): SimplePanel
open fun addAll(children: List<Component>): SimplePanel
fun addHeaderCell(: HeaderCell): Table
var caption: String?
protected open fun childrenVNodes(): Array<VNode>
open fun getChildren(): List<Component>
protected open fun getSnClass(): List<StringBoolPair>
var headerNames: List<String>?
open fun remove(child: Component): SimplePanel
open fun removeAll(): SimplePanel
fun removeHeaderCell(: HeaderCell): Table
fun removeHeaderCells(): Table
protected open fun render(): VNode
var responsive: Boolean
fun Container.table(: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsive: Boolean = false, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table
var types: Set<TableType>
enum class TableType
open class TabPanel : SimplePanel
Module Contents
TabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null)
var activeIndex: Int
open fun add(child: Component): TabPanel
open fun addAll(children: List<Component>): TabPanel
open fun addTab(title: String, panel: Component, icon: String? = null, image: ResString? = null, route: String? = null): TabPanel
open fun remove(child: Component): TabPanel
open fun removeAll(): TabPanel
open fun removeTab(index: Int): TabPanel
fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel
enum class TabPosition
enum class TAG
open class Tag : SimplePanel, Template
Module Contents
Tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Tag.() -> Unit)? = null)
var align: Align?
open var content: String?
protected open fun getSnClass(): List<StringBoolPair>
protected open fun render(): VNode
open var rich: Boolean
fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Tag.() -> Unit)? = null): Tag
open var template: ((Any?) -> String)?
open var templates: Map<String, (Any?) -> String>
var type: TAG
operator fun String.unaryPlus(): Unit
external interface Task
interface Template
open class Text : AbstractText
enum class TextAlign
open class TextArea : AbstractText
Module Contents
TextArea(cols: Int? = null, rows: Int? = null, value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false)
var cols: Int?
val input: TextAreaInput
var rows: Int?
fun Container.textArea(cols: Int? = null, rows: Int? = null, value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (TextArea.() -> Unit)? = null): TextArea
var wrapHard: Boolean
open class TextAreaInput : AbstractTextInput
class TextDecoration
enum class TextDecorationLine
enum class TextDecorationStyle
open class TextInput : AbstractTextInput
enum class TextInputType
enum class TextOverflow
class TextShadow
enum class TextTransform
external interface ThumbarButton
data class TickOptions
Module Contents
TickOptions(callback: ((value: Any, index: Any, values: Any) -> dynamic)? = null, display: Boolean = true, fontSize: Int = 12, fontStyle: FontStyle? = null, fontColor: Color? = null, fontFamily: String? = null, reverse: Boolean = false, minor: dynamic = null, major: dynamic = null)
val callback: ((value: Any, index: Any, values: Any) -> dynamic)?
val display: Boolean
val fontColor: Color?
val fontFamily: String?
val fontSize: Int
val fontStyle: FontStyle?
val major: dynamic
val minor: dynamic
val reverse: Boolean
data class TitleOptions
external interface ToBitmapOptions
external interface ToDataURLOptions
open class Toolbar : SimplePanel
data class TooltipCallback
Module Contents
TooltipCallback(beforeTitle: ((item: Array<Chart.ChartTooltipItem>, data: Chart.ChartData) -> dynamic)? = null, title: ((item: Array<Chart.ChartTooltipItem>, data: Chart.ChartData) -> dynamic)? = null, afterTitle: ((item: Array<Chart.ChartTooltipItem>, data: Chart.ChartData) -> dynamic)? = null, beforeBody: ((item: Array<Chart.ChartTooltipItem>, data: Chart.ChartData) -> dynamic)? = null, beforeLabel: ((tooltipItem: Chart.ChartTooltipItem, data: Chart.ChartData) -> dynamic)? = null, label: ((tooltipItem: Chart.ChartTooltipItem, data: Chart.ChartData) -> dynamic)? = null, labelColor: ((tooltipItem: Chart.ChartTooltipItem, chart: Chart) -> Chart.ChartTooltipLabelColor)? = null, labelTextColor: ((tooltipItem: Chart.ChartTooltipItem, chart: Chart) -> String)? = null, afterLabel: ((tooltipItem: Chart.ChartTooltipItem, data: Chart.ChartData) -> dynamic)? = null, afterBody: ((item: Array<Chart.ChartTooltipItem>, data: Chart.ChartData) -> dynamic)? = null, : ((item: Array<Chart.ChartTooltipItem>, data: Chart.ChartData) -> dynamic)? = null, : ((item: Array<Chart.ChartTooltipItem>, data: Chart.ChartData) -> dynamic)? = null, : ((item: Array<Chart.ChartTooltipItem>, data: Chart.ChartData) -> dynamic)? = null)
val afterBody: ((item: Array<Chart.ChartTooltipItem>, data: Chart.ChartData) -> dynamic)?
val afterFooter: ((item: Array<Chart.ChartTooltipItem>, data: Chart.ChartData) -> dynamic)?
val afterLabel: ((tooltipItem: Chart.ChartTooltipItem, data: Chart.ChartData) -> dynamic)?
val afterTitle: ((item: Array<Chart.ChartTooltipItem>, data: Chart.ChartData) -> dynamic)?
val beforeBody: ((item: Array<Chart.ChartTooltipItem>, data: Chart.ChartData) -> dynamic)?
val beforeFooter: ((item: Array<Chart.ChartTooltipItem>, data: Chart.ChartData) -> dynamic)?
val beforeLabel: ((tooltipItem: Chart.ChartTooltipItem, data: Chart.ChartData) -> dynamic)?
val beforeTitle: ((item: Array<Chart.ChartTooltipItem>, data: Chart.ChartData) -> dynamic)?
val footer: ((item: Array<Chart.ChartTooltipItem>, data: Chart.ChartData) -> dynamic)?
val label: ((tooltipItem: Chart.ChartTooltipItem, data: Chart.ChartData) -> dynamic)?
val labelColor: ((tooltipItem: Chart.ChartTooltipItem, chart: Chart) -> Chart.ChartTooltipLabelColor)?
val labelTextColor: ((tooltipItem: Chart.ChartTooltipItem, chart: Chart) -> String)?
val title: ((item: Array<Chart.ChartTooltipItem>, data: Chart.ChartData) -> dynamic)?
data class TooltipOptions
Module Contents
TooltipOptions(enabled: Boolean = true, custom: ((a: Any) -> Unit)? = null, mode: InteractionMode = InteractionMode.NEAREST, intersect: Boolean = true, position: TooltipPosition = TooltipPosition.AVERAGE, callbacks: TooltipCallback? = null, filter: ((item: Chart.ChartTooltipItem, data: Chart.ChartData) -> Boolean)? = null, itemSort: ((itemA: Chart.ChartTooltipItem, itemB: Chart.ChartTooltipItem) -> Number)? = null, backgroundColor: Color? = null, titleFontSize: Int = 12, titleFontStyle: FontStyle? = null, titleFontColor: Color? = null, titleFontFamily: String? = null, titleSpacing: Int = 2, titleMarginBottom: Int = 6, bodyFontSize: Int = 12, bodyFontStyle: FontStyle? = null, bodyFontColor: Color? = null, bodyFontFamily: String? = null, bodySpacing: Int = 2, : Int = 12, : FontStyle? = null, : Color? = null, : String? = null, : Int = 2, : Int = 6, xPadding: Int = 6, yPadding: Int = 6, caretPadding: Int = 2, caretSize: Int = 5, cornerRadius: Int = 6, multiKeyBackground: Color? = null, displayColors: Boolean = true, borderColor: Color? = null, borderWidth: Int = 0)
val backgroundColor: Color?
val bodyFontColor: Color?
val bodyFontFamily: String?
val bodyFontSize: Int
val bodyFontStyle: FontStyle?
val bodySpacing: Int
val borderColor: Color?
val borderWidth: Int
val callbacks: TooltipCallback?
val caretPadding: Int
val caretSize: Int
val cornerRadius: Int
val custom: ((a: Any) -> Unit)?
val displayColors: Boolean
val enabled: Boolean
val filter: ((item: Chart.ChartTooltipItem, data: Chart.ChartData) -> Boolean)?
val footerFontColor: Color?
val footerFontFamily: String?
val footerFontSize: Int
val footerFontStyle: FontStyle?
val footerMarginTop: Int
val footerSpacing: Int
val intersect: Boolean
val itemSort: ((itemA: Chart.ChartTooltipItem, itemB: Chart.ChartTooltipItem) -> Number)?
val mode: InteractionMode
val multiKeyBackground: Color?
val position: TooltipPosition
val titleFontColor: Color?
val titleFontFamily: String?
val titleFontSize: Int
val titleFontStyle: FontStyle?
val titleMarginBottom: Int
val titleSpacing: Int
val xPadding: Int
val yPadding: Int
data class TooltipOptions
enum class TooltipPosition
external interface ToPNGOptions
open external class TouchBar : EventEmitter
open external class TouchBarButton : EventEmitter
external interface TouchBarButtonConstructorOptions
open external class TouchBarColorPicker : EventEmitter
external interface TouchBarColorPickerConstructorOptions
external interface TouchBarConstructorOptions
open external class TouchBarGroup : EventEmitter
external interface TouchBarGroupConstructorOptions
open external class TouchBarLabel : EventEmitter
external interface TouchBarLabelConstructorOptions
open external class TouchBarPopover : EventEmitter
external interface TouchBarPopoverConstructorOptions
open external class TouchBarScrubber : EventEmitter
external interface TouchBarScrubberConstructorOptions
open external class TouchBarSegmentedControl : EventEmitter
external interface TouchBarSegmentedControlConstructorOptions
open external class TouchBarSlider : EventEmitter
external interface TouchBarSliderConstructorOptions
open external class TouchBarSpacer : EventEmitter
external interface TouchBarSpacerConstructorOptions
external interface Transaction
open external class Tray : EventEmitter
Module Contents
Tray(image: String)
Tray(image: NativeImage)
open fun addListener(event: String, listener: Function<*>): Tray
open fun addListener(event: String, listener: Function<*>): Tray
open fun addListener(event: String, listener: Function<*>): Tray
open fun addListener(event: String, listener: (event: Event, bounds: Rectangle, position: Point) -> Unit): Tray
open fun addListener(event: String, listener: (event: Event, bounds: Rectangle) -> Unit): Tray
open fun addListener(event: String, listener: Function<*>): Tray
open fun addListener(event: String, listener: Function<*>): Tray
open fun addListener(event: String, listener: Function<*>): Tray
open fun addListener(event: String, listener: Function<*>): Tray
open fun addListener(event: String, listener: (event: Event, files: Array<String>) -> Unit): Tray
open fun addListener(event: String, listener: (event: Event, text: String) -> Unit): Tray
open fun addListener(event: String, listener: (event: Event, position: Point) -> Unit): Tray
open fun addListener(event: String, listener: (event: Event, position: Point) -> Unit): Tray
open fun addListener(event: String, listener: (event: Event, position: Point) -> Unit): Tray
open fun addListener(event: String, listener: (event: Event, bounds: Rectangle) -> Unit): Tray
open fun destroy(): Unit
open fun displayBalloon(options: DisplayBalloonOptions): Unit
open fun getBounds(): Rectangle
open fun isDestroyed(): Boolean
open fun on(event: String, listener: Function<*>): Tray
open fun on(event: String, listener: Function<*>): Tray
open fun on(event: String, listener: Function<*>): Tray
open fun on(event: String, listener: (event: Event, bounds: Rectangle, position: Point) -> Unit): Tray
open fun on(event: String, listener: (event: Event, bounds: Rectangle) -> Unit): Tray
open fun on(event: String, listener: Function<*>): Tray
open fun on(event: String, listener: Function<*>): Tray
open fun on(event: String, listener: Function<*>): Tray
open fun on(event: String, listener: Function<*>): Tray
open fun on(event: String, listener: (event: Event, files: Array<String>) -> Unit): Tray
open fun on(event: String, listener: (event: Event, text: String) -> Unit): Tray
open fun on(event: String, listener: (event: Event, position: Point) -> Unit): Tray
open fun on(event: String, listener: (event: Event, position: Point) -> Unit): Tray
open fun on(event: String, listener: (event: Event, position: Point) -> Unit): Tray
open fun on(event: String, listener: (event: Event, bounds: Rectangle) -> Unit): Tray
open fun once(event: String, listener: Function<*>): Tray
open fun once(event: String, listener: Function<*>): Tray
open fun once(event: String, listener: Function<*>): Tray
open fun once(event: String, listener: (event: Event, bounds: Rectangle, position: Point) -> Unit): Tray
open fun once(event: String, listener: (event: Event, bounds: Rectangle) -> Unit): Tray
open fun once(event: String, listener: Function<*>): Tray
open fun once(event: String, listener: Function<*>): Tray
open fun once(event: String, listener: Function<*>): Tray
open fun once(event: String, listener: Function<*>): Tray
open fun once(event: String, listener: (event: Event, files: Array<String>) -> Unit): Tray
open fun once(event: String, listener: (event: Event, text: String) -> Unit): Tray
open fun once(event: String, listener: (event: Event, position: Point) -> Unit): Tray
open fun once(event: String, listener: (event: Event, position: Point) -> Unit): Tray
open fun once(event: String, listener: (event: Event, position: Point) -> Unit): Tray
open fun once(event: String, listener: (event: Event, bounds: Rectangle) -> Unit): Tray
open fun popUpContextMenu(: Menu? = definedExternally, : Point? = definedExternally): Unit
open fun removeListener(event: String, listener: Function<*>): Tray
open fun removeListener(event: String, listener: Function<*>): Tray
open fun removeListener(event: String, listener: Function<*>): Tray
open fun removeListener(event: String, listener: (event: Event, bounds: Rectangle, position: Point) -> Unit): Tray
open fun removeListener(event: String, listener: (event: Event, bounds: Rectangle) -> Unit): Tray
open fun removeListener(event: String, listener: Function<*>): Tray
open fun removeListener(event: String, listener: Function<*>): Tray
open fun removeListener(event: String, listener: Function<*>): Tray
open fun removeListener(event: String, listener: Function<*>): Tray
open fun removeListener(event: String, listener: (event: Event, files: Array<String>) -> Unit): Tray
open fun removeListener(event: String, listener: (event: Event, text: String) -> Unit): Tray
open fun removeListener(event: String, listener: (event: Event, position: Point) -> Unit): Tray
open fun removeListener(event: String, listener: (event: Event, position: Point) -> Unit): Tray
open fun removeListener(event: String, listener: (event: Event, position: Point) -> Unit): Tray
open fun removeListener(event: String, listener: (event: Event, bounds: Rectangle) -> Unit): Tray
open fun setContextMenu(: Menu): Unit
open fun setHighlightMode(mode: String): Unit
open fun setHighlightMode(mode: String): Unit
open fun setHighlightMode(mode: String): Unit
open fun setImage(image: String): Unit
open fun setImage(image: NativeImage): Unit
open fun setPressedImage(image: NativeImage): Unit
open fun setTitle(title: String): Unit
open fun setToolTip(toolTip: String): Unit
enum class Trigger
enum class UnicodeBidi
enum class UNIT
class Updateable<S : Any, CONTENT>
external interface UpdateTargetUrlEvent : Event
open class Upload : SimplePanel, KFilesFormControl
external interface UploadBlob
external interface UploadData
external interface UploadFile
external interface UploadFileSystem
open class UploadInput : Widget, FormInput
Module Contents
UploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf())
protected open fun afterDestroy(): Unit
protected open fun afterInsert(node: VNode): Unit
var allowedFileExtensions: Set<String>?
var allowedFileTypes: Set<String>?
open fun blur(): Unit
var browseOnZoneClick: Boolean
open fun cancel(): Unit
open fun clearInput(): Unit
open var disabled: Boolean
var dropZoneEnabled: Boolean
var explorerTheme: Boolean
open fun focus(): Unit
suspend fun <K : Any> Form<K>.getContent(key: KProperty1<K, List<KFile>?>, kFile: KFile): KFile
suspend fun <K : Any> FormPanel<K>.getContent(key: KProperty1<K, List<KFile>?>, kFile: KFile): KFile
fun getNativeFile(kFile: KFile): File?
protected open fun getSnAttrs(): List<StringPair>
protected open fun getSnClass(): List<StringBoolPair>
fun getValueAsString(): String?
open fun lock(): Unit
var multiple: Boolean
open var name: String?
var preferIconicPreview: Boolean
protected open fun render(): VNode
var required: Boolean
open fun resetInput(): Unit
var showBrowse: Boolean
var showCancel: Boolean
var showCaption: Boolean
var showPreview: Boolean
var showRemove: Boolean
var showUpload: Boolean
open var size: InputSize?
open fun unlock(): Unit
open fun upload(): Unit
var uploadExtraData: ((String, Int) -> dynamic)?
fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput
var uploadUrl: String?
var value: List<KFile>?
external interface UploadRawData
external interface Versions
enum class VerticalAlign
open class VPanel : FlexPanel
open external class WebContents : EventEmitter
Module Contents
WebContents()
open fun addListener(event: String, listener: (event: Event, input: Input) -> Unit): WebContents
open fun addListener(event: String, listener: (event: Event, url: String, error: String, certificate: Certificate, callback: (isTrusted: Boolean) -> Unit) -> Unit): WebContents
open fun addListener(event: String, listener: (level: Number, message: String, line: Number, sourceId: String) -> Unit): WebContents
open fun addListener(: String, : (event: Event, params: ContextMenuParams) -> Unit): WebContents
open fun addListener(event: String, listener: (event: Event, killed: Boolean) -> Unit): WebContents
open fun addListener(event: String, listener: (event: Event, type: String, image: NativeImage?, scale: Number?, size: Size?, hotspot: Point?) -> Unit): WebContents
open fun addListener(event: String, listener: Function<*>): WebContents
open fun addListener(event: String, listener: Function<*>): WebContents
open fun addListener(event: String, listener: Function<*>): WebContents
open fun addListener(event: String, listener: Function<*>): WebContents
open fun addListener(event: String, listener: Function<*>): WebContents
open fun addListener(event: String, listener: (event: Event, webContents: WebContents) -> Unit): WebContents
open fun addListener(event: String, listener: (event: Event, color: String?) -> Unit): WebContents
open fun addListener(event: String, listener: (event: Event, errorCode: Number, errorDescription: String, validatedURL: String, isMainFrame: Boolean) -> Unit): WebContents
open fun addListener(event: String, listener: Function<*>): WebContents
open fun addListener(event: String, listener: (event: Event, isMainFrame: Boolean) -> Unit): WebContents
open fun addListener(event: String, listener: (event: Event, oldURL: String, newURL: String, isMainFrame: Boolean, httpResponseCode: Number, requestMethod: String, referrer: String, headers: Any) -> Unit): WebContents
open fun addListener(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 addListener(event: String, listener: (event: Event, url: String) -> Unit): WebContents
open fun addListener(event: String, listener: (event: Event, url: String, isMainFrame: Boolean) -> Unit): WebContents
open fun addListener(event: String, listener: Function<*>): WebContents
open fun addListener(event: String, listener: Function<*>): WebContents
open fun addListener(event: String, listener: (event: Event) -> Unit): WebContents
open fun addListener(event: String, listener: (event: Event, result: Result) -> Unit): WebContents
open fun addListener(event: String, listener: (event: Event, request: Request, authInfo: AuthInfo, callback: (username: String, password: String) -> Unit) -> Unit): WebContents
open fun addListener(event: String, listener: Function<*>): WebContents
open fun addListener(event: String, listener: Function<*>): WebContents
open fun addListener(event: String, listener: (event: Event, url: String, frameName: String, dynamic, options: Any, additionalFeatures: Array<String>) -> Unit): WebContents
open fun addListener(event: String, listener: (event: Event, favicons: Array<String>) -> Unit): WebContents
open fun addListener(event: String, listener: (event: Event, dirtyRect: Rectangle, image: NativeImage) -> Unit): WebContents
open fun addListener(event: String, listener: (event: Event, name: String, version: String) -> Unit): WebContents
open fun addListener(event: String, listener: (event: Event, devices: Array<BluetoothDevice>, callback: (deviceId: String) -> Unit) -> Unit): WebContents
open fun addListener(event: String, listener: (event: Event, url: String, certificateList: Array<Certificate>, callback: (certificate: Certificate) -> Unit) -> Unit): WebContents
open fun addListener(event: String, listener: (event: Event, url: String) -> Unit): WebContents
open fun addListener(event: String, listener: (event: Event, webPreferences: Any, params: Any) -> Unit): WebContents
open fun addListener(event: String, listener: (event: Event, url: String) -> Unit): WebContents
open fun addListener(event: String, listener: (event: Event) -> Unit): WebContents
open fun addWorkSpace(path: String): Unit
open fun beginFrameSubscription(callback: (<ERROR CLASS>, dirtyRect: Rectangle) -> Unit): Unit
open fun beginFrameSubscription(onlyDirty: Boolean, callback: (<ERROR CLASS>, dirtyRect: Rectangle) -> Unit): Unit
open fun canGoBack(): Boolean
open fun canGoForward(): Boolean
open fun canGoToOffset(offset: Number): Boolean
open fun capturePage(callback: (image: NativeImage) -> Unit): Unit
open fun capturePage(rect: Rectangle, callback: (image: NativeImage) -> Unit): Unit
open fun clearHistory(): Unit
open fun closeDevTools(): Unit
open fun copy(): Unit
open fun copyImageAt(x: Number, y: Number): Unit
open fun cut(): Unit
open var debugger: Debugger
open fun delete(): Unit
open var devToolsWebContents: WebContents
open fun disableDeviceEmulation(): Unit
open fun downloadURL(url: String): Unit
open fun enableDeviceEmulation(parameters: Parameters): Unit
open fun endFrameSubscription(): Unit
open fun executeJavaScript(code: String, userGesture: Boolean? = definedExternally, callback: ((result: Any) -> Unit)? = definedExternally): Promise<Any>
open fun findInPage(text: String, options: FindInPageOptions? = definedExternally): Number
open fun focus(): Unit
fun fromId(id: Number): WebContents
fun getAllWebContents(): Array<WebContents>
fun getFocusedWebContents(): WebContents
open fun getFrameRate(): Number
open fun getOSProcessId(): Number
open fun getPrinters(): Array<PrinterInfo>
open fun getTitle(): String
open fun getURL(): String
open fun getUserAgent(): String
open fun getWebRTCIPHandlingPolicy(): String
open fun getZoomFactor(callback: (zoomFactor: Number) -> Unit): Unit
open fun getZoomLevel(callback: (zoomLevel: Number) -> Unit): Unit
open fun goBack(): Unit
open fun goForward(): Unit
open fun goToIndex(index: Number): Unit
open fun goToOffset(offset: Number): Unit
open fun hasServiceWorker(callback: (hasWorker: Boolean) -> Unit): Unit
open var hostWebContents: WebContents
open var id: Number
open fun insertCSS(css: String): Unit
open fun insertText(text: String): Unit
open fun inspectElement(x: Number, y: Number): Unit
open fun inspectServiceWorker(): Unit
open fun invalidate(): Unit
open fun isAudioMuted(): Boolean
open fun isCrashed(): Boolean
open fun isDestroyed(): Boolean
open fun isDevToolsFocused(): Boolean
open fun isDevToolsOpened(): Boolean
open fun isFocused(): Boolean
open fun isLoading(): Boolean
open fun isLoadingMainFrame(): Boolean
open fun isOffscreen(): Boolean
open fun isPainting(): Boolean
open fun isWaitingForResponse(): Boolean
open fun loadFile(filePath: String): Unit
open fun loadURL(url: String, options: LoadURLOptions? = definedExternally): Unit
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(: String, : (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
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
open fun once(event: String, listener: (event: Event, input: Input) -> Unit): WebContents
open fun once(event: String, listener: (event: Event, url: String, error: String, certificate: Certificate, callback: (isTrusted: Boolean) -> Unit) -> Unit): WebContents
open fun once(event: String, listener: (level: Number, message: String, line: Number, sourceId: String) -> Unit): WebContents
open fun once(: String, : (event: Event, params: ContextMenuParams) -> Unit): WebContents
open fun once(event: String, listener: (event: Event, killed: Boolean) -> Unit): WebContents
open fun once(event: String, listener: (event: Event, type: String, image: NativeImage?, scale: Number?, size: Size?, hotspot: Point?) -> Unit): WebContents
open fun once(event: String, listener: Function<*>): WebContents
open fun once(event: String, listener: Function<*>): WebContents
open fun once(event: String, listener: Function<*>): WebContents
open fun once(event: String, listener: Function<*>): WebContents
open fun once(event: String, listener: Function<*>): WebContents
open fun once(event: String, listener: (event: Event, webContents: WebContents) -> Unit): WebContents
open fun once(event: String, listener: (event: Event, color: String?) -> Unit): WebContents
open fun once(event: String, listener: (event: Event, errorCode: Number, errorDescription: String, validatedURL: String, isMainFrame: Boolean) -> Unit): WebContents
open fun once(event: String, listener: Function<*>): WebContents
open fun once(event: String, listener: (event: Event, isMainFrame: Boolean) -> Unit): WebContents
open fun once(event: String, listener: (event: Event, oldURL: String, newURL: String, isMainFrame: Boolean, httpResponseCode: Number, requestMethod: String, referrer: String, headers: Any) -> Unit): WebContents
open fun once(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 once(event: String, listener: (event: Event, url: String) -> Unit): WebContents
open fun once(event: String, listener: (event: Event, url: String, isMainFrame: Boolean) -> Unit): WebContents
open fun once(event: String, listener: Function<*>): WebContents
open fun once(event: String, listener: Function<*>): WebContents
open fun once(event: String, listener: (event: Event) -> Unit): WebContents
open fun once(event: String, listener: (event: Event, result: Result) -> Unit): WebContents
open fun once(event: String, listener: (event: Event, request: Request, authInfo: AuthInfo, callback: (username: String, password: String) -> Unit) -> Unit): WebContents
open fun once(event: String, listener: Function<*>): WebContents
open fun once(event: String, listener: Function<*>): WebContents
open fun once(event: String, listener: (event: Event, url: String, frameName: String, dynamic, options: Any, additionalFeatures: Array<String>) -> Unit): WebContents
open fun once(event: String, listener: (event: Event, favicons: Array<String>) -> Unit): WebContents
open fun once(event: String, listener: (event: Event, dirtyRect: Rectangle, image: NativeImage) -> Unit): WebContents
open fun once(event: String, listener: (event: Event, name: String, version: String) -> Unit): WebContents
open fun once(event: String, listener: (event: Event, devices: Array<BluetoothDevice>, callback: (deviceId: String) -> Unit) -> Unit): WebContents
open fun once(event: String, listener: (event: Event, url: String, certificateList: Array<Certificate>, callback: (certificate: Certificate) -> Unit) -> Unit): WebContents
open fun once(event: String, listener: (event: Event, url: String) -> Unit): WebContents
open fun once(event: String, listener: (event: Event, webPreferences: Any, params: Any) -> Unit): WebContents
open fun once(event: String, listener: (event: Event, url: String) -> Unit): WebContents
open fun once(event: String, listener: (event: Event) -> Unit): WebContents
open fun openDevTools(options: OpenDevToolsOptions? = definedExternally): Unit
open fun paste(): Unit
open fun pasteAndMatchStyle(): Unit
open fun print(options: PrintOptions? = definedExternally, callback: ((success: Boolean) -> Unit)? = definedExternally): Unit
open fun printToPDF(options: PrintToPDFOptions, callback: (Error, <ERROR CLASS>) -> Unit): Unit
open fun redo(): Unit
open fun reload(): Unit
open fun reloadIgnoringCache(): Unit
open fun removeListener(event: String, listener: (event: Event, input: Input) -> Unit): WebContents
open fun removeListener(event: String, listener: (event: Event, url: String, error: String, certificate: Certificate, callback: (isTrusted: Boolean) -> Unit) -> Unit): WebContents
open fun removeListener(event: String, listener: (level: Number, message: String, line: Number, sourceId: String) -> Unit): WebContents
open fun removeListener(: String, : (event: Event, params: ContextMenuParams) -> Unit): WebContents
open fun removeListener(event: String, listener: (event: Event, killed: Boolean) -> Unit): WebContents
open fun removeListener(event: String, listener: (event: Event, type: String, image: NativeImage?, scale: Number?, size: Size?, hotspot: Point?) -> Unit): WebContents
open fun removeListener(event: String, listener: Function<*>): WebContents
open fun removeListener(event: String, listener: Function<*>): WebContents
open fun removeListener(event: String, listener: Function<*>): WebContents
open fun removeListener(event: String, listener: Function<*>): WebContents
open fun removeListener(event: String, listener: Function<*>): WebContents
open fun removeListener(event: String, listener: (event: Event, webContents: WebContents) -> Unit): WebContents
open fun removeListener(event: String, listener: (event: Event, color: String?) -> Unit): WebContents
open fun removeListener(event: String, listener: (event: Event, errorCode: Number, errorDescription: String, validatedURL: String, isMainFrame: Boolean) -> Unit): WebContents
open fun removeListener(event: String, listener: Function<*>): WebContents
open fun removeListener(event: String, listener: (event: Event, isMainFrame: Boolean) -> Unit): WebContents
open fun removeListener(event: String, listener: (event: Event, oldURL: String, newURL: String, isMainFrame: Boolean, httpResponseCode: Number, requestMethod: String, referrer: String, headers: Any) -> Unit): WebContents
open fun removeListener(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 removeListener(event: String, listener: (event: Event, url: String) -> Unit): WebContents
open fun removeListener(event: String, listener: (event: Event, url: String, isMainFrame: Boolean) -> Unit): WebContents
open fun removeListener(event: String, listener: Function<*>): WebContents
open fun removeListener(event: String, listener: Function<*>): WebContents
open fun removeListener(event: String, listener: (event: Event) -> Unit): WebContents
open fun removeListener(event: String, listener: (event: Event, result: Result) -> Unit): WebContents
open fun removeListener(event: String, listener: (event: Event, request: Request, authInfo: AuthInfo, callback: (username: String, password: String) -> Unit) -> Unit): WebContents
open fun removeListener(event: String, listener: Function<*>): WebContents
open fun removeListener(event: String, listener: Function<*>): WebContents
open fun removeListener(event: String, listener: (event: Event, url: String, frameName: String, dynamic, options: Any, additionalFeatures: Array<String>) -> Unit): WebContents
open fun removeListener(event: String, listener: (event: Event, favicons: Array<String>) -> Unit): WebContents
open fun removeListener(event: String, listener: (event: Event, dirtyRect: Rectangle, image: NativeImage) -> Unit): WebContents
open fun removeListener(event: String, listener: (event: Event, name: String, version: String) -> Unit): WebContents
open fun removeListener(event: String, listener: (event: Event, devices: Array<BluetoothDevice>, callback: (deviceId: String) -> Unit) -> Unit): WebContents
open fun removeListener(event: String, listener: (event: Event, url: String, certificateList: Array<Certificate>, callback: (certificate: Certificate) -> Unit) -> Unit): WebContents
open fun removeListener(event: String, listener: (event: Event, url: String) -> Unit): WebContents
open fun removeListener(event: String, listener: (event: Event, webPreferences: Any, params: Any) -> Unit): WebContents
open fun removeListener(event: String, listener: (event: Event, url: String) -> Unit): WebContents
open fun removeListener(event: String, listener: (event: Event) -> Unit): WebContents
open fun removeWorkSpace(path: String): Unit
open fun replace(text: String): Unit
open fun replaceMisspelling(text: String): Unit
open fun savePage(fullPath: String, saveType: String, callback: (Error) -> Unit): Boolean
open fun savePage(fullPath: String, saveType: String, callback: (Error) -> Unit): Boolean
open fun savePage(fullPath: String, saveType: String, callback: (Error) -> Unit): Boolean
open fun selectAll(): Unit
open fun send(channel: String, vararg args: Any): Unit
open fun sendInputEvent(event: Event): Unit
open var session: Session
open fun setAudioMuted(muted: Boolean): Unit
open fun setDevToolsWebContents(devToolsWebContents: WebContents): Unit
open fun setFrameRate(fps: Number): Unit
open fun setIgnoreMenuShortcuts(: Boolean): Unit
open fun setLayoutZoomLevelLimits(minimumLevel: Number, maximumLevel: Number): Unit
open fun setSize(options: SizeOptions): Unit
open fun setUserAgent(userAgent: String): Unit
open fun setVisualZoomLevelLimits(minimumLevel: Number, maximumLevel: Number): Unit
open fun setWebRTCIPHandlingPolicy(policy: String): Unit
open fun setWebRTCIPHandlingPolicy(policy: String): Unit
open fun setWebRTCIPHandlingPolicy(policy: String): Unit
open fun setWebRTCIPHandlingPolicy(policy: String): Unit
open fun setZoomFactor(factor: Number): Unit
open fun setZoomLevel(level: Number): Unit
open fun showDefinitionForSelection(): Unit
open fun startDrag(item: Item): Unit
open fun startPainting(): Unit
open fun stop(): Unit
open fun stopFindInPage(action: String): Unit
open fun stopFindInPage(action: String): Unit
open fun stopFindInPage(action: String): Unit
open fun stopPainting(): Unit
open fun toggleDevTools(): Unit
open fun undo(): Unit
open fun unregisterServiceWorker(callback: (success: Boolean) -> Unit): Unit
open fun unselect(): Unit
external interface WebFrame : EventEmitter
Module Contents
abstract fun clearCache(): Unit
abstract fun executeJavaScript(code: String, userGesture: Boolean? = definedExternally, callback: ((result: Any) -> Unit)? = definedExternally): Promise<Any>
abstract fun executeJavaScriptInIsolatedWorld(worldId: Number, scripts: Array<WebSource>, userGesture: Boolean? = definedExternally, callback: ((result: Any) -> Unit)? = definedExternally): Unit
abstract fun getResourceUsage(): ResourceUsage
abstract fun getZoomFactor(): Number
abstract fun getZoomLevel(): Number
abstract fun insertText(text: String): Unit
abstract fun registerURLSchemeAsBypassingCSP(scheme: String): Unit
abstract fun registerURLSchemeAsPrivileged(scheme: String, options: RegisterURLSchemeAsPrivilegedOptions? = definedExternally): Unit
abstract fun registerURLSchemeAsSecure(scheme: String): Unit
abstract fun setIsolatedWorldContentSecurityPolicy(worldId: Number, csp: String): Unit
abstract fun setIsolatedWorldHumanReadableName(worldId: Number, name: String): Unit
abstract fun setIsolatedWorldSecurityOrigin(worldId: Number, securityOrigin: String): Unit
abstract fun setLayoutZoomLevelLimits(minimumLevel: Number, maximumLevel: Number): Unit
abstract fun setSpellCheckProvider(language: String, autoCorrectWord: Boolean, provider: Provider): Unit
abstract fun setVisualZoomLevelLimits(minimumLevel: Number, maximumLevel: Number): Unit
abstract fun setZoomFactor(factor: Number): Unit
abstract fun setZoomLevel(level: Number): Unit
external interface WebPreferences
open external class WebRequest : EventEmitter
Module Contents
WebRequest()
open fun onBeforeRedirect(listener: (details: OnBeforeRedirectDetails) -> Unit): Unit
open fun onBeforeRedirect(filter: OnBeforeRedirectFilter, listener: (details: OnBeforeRedirectDetails) -> Unit): Unit
open fun onBeforeRequest(listener: (details: OnBeforeRequestDetails, callback: (response: Response) -> Unit) -> Unit): Unit
open fun onBeforeRequest(filter: OnBeforeRequestFilter, listener: (details: OnBeforeRequestDetails, callback: (response: Response) -> Unit) -> Unit): Unit
open fun onBeforeSendHeaders(: OnBeforeSendHeadersFilter, : Function<*>): Unit
open fun onBeforeSendHeaders(: Function<*>): Unit
open fun onCompleted(filter: OnCompletedFilter, listener: (details: OnCompletedDetails) -> Unit): Unit
open fun onCompleted(listener: (details: OnCompletedDetails) -> Unit): Unit
open fun onErrorOccurred(listener: (details: OnErrorOccurredDetails) -> Unit): Unit
open fun onErrorOccurred(filter: OnErrorOccurredFilter, listener: (details: OnErrorOccurredDetails) -> Unit): Unit
open fun onHeadersReceived(: OnHeadersReceivedFilter, : Function<*>): Unit
open fun onHeadersReceived(: Function<*>): Unit
open fun onResponseStarted(listener: (details: OnResponseStartedDetails) -> Unit): Unit
open fun onResponseStarted(filter: OnResponseStartedFilter, listener: (details: OnResponseStartedDetails) -> Unit): Unit
open fun onSendHeaders(: OnSendHeadersFilter, : (details: OnSendHeadersDetails) -> Unit): Unit
open fun onSendHeaders(: (details: OnSendHeadersDetails) -> Unit): Unit
external interface WebSource
external interface WebviewTag
Module Contents
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: Event) -> 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: 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: Event) -> 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: Event) -> 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: 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: Event) -> 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: Event) -> 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: PluginCrashedEvent) -> 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: Event) -> 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: DidChangeThemeColorEvent) -> Unit, useCapture: Boolean? = definedExternally): WebviewTag
abstract fun addEventListener(event: String, listener: (event: UpdateTargetUrlEvent) -> 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: Event) -> Unit, useCapture: Boolean? = definedExternally): WebviewTag
abstract fun addEventListener(event: String, listener: (event: Event) -> Unit, useCapture: Boolean? = definedExternally): WebviewTag
abstract fun <K> addEventListener(type: K, listener: (<ERROR CLASS>, 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
open var allowpopups: String?
open var autosize: String?
open var blinkfeatures: String?
abstract fun canGoBack(): Boolean
abstract fun canGoForward(): Boolean
abstract fun canGoToOffset(offset: Number): Boolean
abstract fun capturePage(callback: (image: NativeImage) -> Unit): Unit
abstract fun capturePage(rect: Rectangle, callback: (image: NativeImage) -> Unit): Unit
abstract fun clearHistory(): Unit
abstract fun closeDevTools(): Unit
abstract fun copy(): Unit
abstract fun cut(): Unit
abstract fun delete(): Unit
open var disableblinkfeatures: String?
open var disableguestresize: String?
open var disablewebsecurity: String?
abstract fun executeJavaScript(code: String, userGesture: Boolean? = definedExternally, callback: ((result: Any) -> Unit)? = definedExternally): Unit
abstract fun findInPage(text: String, options: FindInPageOptions? = definedExternally): Number
abstract fun getTitle(): String
abstract fun getURL(): String
abstract fun getUserAgent(): String
abstract fun getWebContents(): WebContents
abstract fun goBack(): Unit
abstract fun goForward(): Unit
abstract fun goToIndex(index: Number): Unit
abstract fun goToOffset(offset: Number): Unit
open var guestinstance: String?
open var httpreferrer: String?
abstract fun insertCSS(css: String): Unit
abstract fun insertText(text: String): Unit
abstract fun inspectElement(x: Number, y: Number): Unit
abstract fun inspectServiceWorker(): Unit
abstract fun isAudioMuted(): Boolean
abstract fun isCrashed(): Boolean
abstract fun isDevToolsFocused(): Boolean
abstract fun isDevToolsOpened(): Boolean
abstract fun isLoading(): Boolean
abstract fun isWaitingForResponse(): Boolean
abstract fun loadURL(url: String, options: LoadURLOptions? = definedExternally): Unit
open var nodeintegration: String?
abstract fun openDevTools(): Unit
open var partition: String?
abstract fun paste(): Unit
abstract fun pasteAndMatchStyle(): Unit
open var plugins: String?
open var preload: String?
abstract fun print(options: PrintOptions? = definedExternally): Unit
abstract fun printToPDF(options: PrintToPDFOptions, callback: (Error, <ERROR CLASS>) -> Unit): Unit
abstract fun redo(): Unit
abstract fun reload(): Unit
abstract fun reloadIgnoringCache(): Unit
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: Event) -> Unit): WebviewTag
abstract fun removeEventListener(event: String, listener: (event: Event) -> 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: Event) -> 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: Event) -> Unit): WebviewTag
abstract fun removeEventListener(event: String, listener: (event: Event) -> 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: Event) -> Unit): WebviewTag
abstract fun removeEventListener(event: String, listener: (event: IpcMessageEvent) -> Unit): WebviewTag
abstract fun removeEventListener(event: String, listener: (event: Event) -> Unit): WebviewTag
abstract fun removeEventListener(event: String, listener: (event: Event) -> Unit): WebviewTag
abstract fun removeEventListener(event: String, listener: (event: PluginCrashedEvent) -> Unit): WebviewTag
abstract fun removeEventListener(event: String, listener: (event: Event) -> Unit): WebviewTag
abstract fun removeEventListener(event: String, listener: (event: Event) -> Unit): WebviewTag
abstract fun removeEventListener(event: String, listener: (event: Event) -> Unit): WebviewTag
abstract fun removeEventListener(event: String, listener: (event: DidChangeThemeColorEvent) -> Unit): WebviewTag
abstract fun removeEventListener(event: String, listener: (event: UpdateTargetUrlEvent) -> Unit): WebviewTag
abstract fun removeEventListener(event: String, listener: (event: Event) -> Unit): WebviewTag
abstract fun removeEventListener(event: String, listener: (event: Event) -> Unit): WebviewTag
abstract fun removeEventListener(event: String, listener: (event: Event) -> Unit): WebviewTag
abstract fun <K> removeEventListener(type: K, listener: (<ERROR CLASS>, 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
abstract fun replace(text: String): Unit
abstract fun replaceMisspelling(text: String): Unit
abstract fun selectAll(): Unit
abstract fun send(channel: String, vararg args: Any): Unit
abstract fun sendInputEvent(event: Any): Unit
abstract fun setAudioMuted(muted: Boolean): Unit
abstract fun setUserAgent(userAgent: String): Unit
abstract fun setZoomFactor(factor: Number): Unit
abstract fun setZoomLevel(level: Number): Unit
abstract fun showDefinitionForSelection(): Unit
open var src: String?
abstract fun stop(): Unit
abstract fun stopFindInPage(action: String): Unit
abstract fun stopFindInPage(action: String): Unit
abstract fun stopFindInPage(action: String): Unit
abstract fun undo(): Unit
abstract fun unselect(): Unit
open var useragent: String?
open var webpreferences: String?
enum class WhiteSpace
open class Widget : StyledComponent
open class WidgetWrapper : SimplePanel
external interface WillNavigateEvent : Event
open class Window : SimplePanel
Module Contents
Window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null)
open fun add(child: Component): SimplePanel
open fun addAll(children: List<Component>): SimplePanel
protected open fun afterCreate(node: VNode): Unit
protected open fun afterDestroy(): Unit
var caption: String?
var closeButton: Boolean
var contentHeight: CssSize?
var contentOverflow: Overflow?
var contentWidth: CssSize?
open fun focus(): Unit
open fun getChildren(): List<Component>
var isDraggable: Boolean
var isResizable: Boolean
open fun remove(child: Component): SimplePanel
open fun removeAll(): SimplePanel
open fun toFront(): Unit
fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window
enum class WordBreak
class WsSessionModule
package pl.treksoft.kvision.chart
Module Contents
data class AnimationOptions
data class ArcOptions
open class Chart : Widget
data class ChartScales
enum class ChartType
data class Configuration
data class DataSets
Module Contents
DataSets(cubicInterpolationMode: InterpolationMode? = null, backgroundColor: List<Color>? = null, borderWidth: List<Int>? = null, borderColor: List<Color>? = null, borderCapStyle: List<LineCap>? = null, borderDash: List<Int>? = null, borderDashOffset: Int? = null, borderJoinStyle: List<LineJoin>? = null, borderSkipped: List<Position>? = null, data: List<dynamic>? = null, fill: Boolean? = null, hoverBackgroundColor: List<Color>? = null, hoverBorderColor: List<Color>? = null, hoverBorderWidth: List<Int>? = null, label: String? = null, lineTension: Number? = null, steppedLine: Boolean? = null, pointBorderColor: List<Color>? = null, pointBackgroundColor: List<Color>? = null, pointBorderWidth: List<Int>? = null, pointRadius: List<Int>? = null, pointHoverRadius: List<Int>? = null, pointHitRadius: List<Int>? = null, pointHoverBackgroundColor: List<Color>? = null, pointHoverBorderColor: List<Color>? = null, pointHoverBorderWidth: List<Int>? = null, pointStyle: List<PointStyle>? = null, xAxisID: String? = null, yAxisID: String? = null, type: ChartType? = null, hidden: Boolean? = null, hideInLegendAndTooltip: Boolean? = null, showLine: Boolean? = null, stack: String? = null, spanGaps: Boolean? = null)
val backgroundColor: List<Color>?
val borderCapStyle: List<LineCap>?
val borderColor: List<Color>?
val borderDash: List<Int>?
val borderDashOffset: Int?
val borderJoinStyle: List<LineJoin>?
val borderSkipped: List<Position>?
val borderWidth: List<Int>?
val cubicInterpolationMode: InterpolationMode?
val data: List<dynamic>?
val fill: Boolean?
val hidden: Boolean?
val hideInLegendAndTooltip: Boolean?
val hoverBackgroundColor: List<Color>?
val hoverBorderColor: List<Color>?
val hoverBorderWidth: List<Int>?
val label: String?
val lineTension: Number?
val pointBackgroundColor: List<Color>?
val pointBorderColor: List<Color>?
val pointBorderWidth: List<Int>?
val pointHitRadius: List<Int>?
val pointHoverBackgroundColor: List<Color>?
val pointHoverBorderColor: List<Color>?
val pointHoverBorderWidth: List<Int>?
val pointHoverRadius: List<Int>?
val pointRadius: List<Int>?
val pointStyle: List<PointStyle>?
val showLine: Boolean?
val spanGaps: Boolean?
val stack: String?
val steppedLine: Boolean?
val type: ChartType?
val xAxisID: String?
val yAxisID: String?
enum class Eeasing
data class ElementsOptions
data class GridLineOptions
Module Contents
GridLineOptions(display: Boolean = true, color: Color? = null, borderDash: List<Int>? = null, borderDashOffset: Int = 0, lineWidth: Int = 1, drawBorder: Boolean = true, drawOnChartArea: Boolean = true, drawTicks: Boolean = true, tickMarkLength: Int = 10, zeroLineWidth: Int = 1, zeroLineColor: Color? = null, zeroLineBorderDash: List<Int>? = null, zeroLineBorderDashOffset: Int = 0, offsetGridLines: Boolean = false)
val borderDash: List<Int>?
val borderDashOffset: Int
val color: Color?
val display: Boolean
val drawBorder: Boolean
val drawOnChartArea: Boolean
val drawTicks: Boolean
val lineWidth: Int
val offsetGridLines: Boolean
val tickMarkLength: Int
val zeroLineBorderDash: List<Int>?
val zeroLineBorderDashOffset: Int
val zeroLineColor: Color?
val zeroLineWidth: Int
data class HoverOptions
enum class InteractionMode
enum class InterpolationMode
data class LayoutOptions
data class LayoutPaddingObject
data class LegendLabelOptions
Module Contents
LegendLabelOptions(boxWidth: Int = 40, fontSize: Int = 12, fontStyle: FontStyle? = null, fontColor: Color? = null, fontFamily: String? = null, padding: Int = 10, generateLabels: ((chart: Any) -> Any)? = null, filter: ((legendItem: Chart.ChartLegendLabelItem, data: Chart.ChartData) -> Any)? = null, usePointStyle: Boolean = false)
val boxWidth: Int
val filter: ((legendItem: Chart.ChartLegendLabelItem, data: Chart.ChartData) -> Any)?
val fontColor: Color?
val fontFamily: String?
val fontSize: Int
val fontStyle: FontStyle?
val generateLabels: ((chart: Any) -> Any)?
val padding: Int
val usePointStyle: Boolean
data class LegendOptions
Module Contents
LegendOptions(display: Boolean = true, position: Position = Position.TOP, fullWidth: Boolean = true, reverse: Boolean = false, onClick: ((event: MouseEvent, legendItem: Chart.ChartLegendLabelItem) -> Unit)? = null, onHover: ((event: MouseEvent, legendItem: Chart.ChartLegendLabelItem) -> Unit)? = null, labels: LegendLabelOptions? = null)
val display: Boolean
val fullWidth: Boolean
val labels: LegendLabelOptions?
val onClick: ((event: MouseEvent, legendItem: Chart.ChartLegendLabelItem) -> Unit)?
val onHover: ((event: MouseEvent, legendItem: Chart.ChartLegendLabelItem) -> Unit)?
val position: Position
val reverse: Boolean
enum class LineCap
enum class LineJoin
data class LineOptions
Module Contents
LineOptions(cubicInterpolationMode: InterpolationMode = InterpolationMode.DEFAULT, tension: Double = 0.2, backgroundColor: Color? = null, borderWidth: Int = 1, borderColor: Color? = null, borderCapStyle: LineCap? = null, borderDash: List<Any>? = null, borderDashOffset: Int = 0, borderJoinStyle: LineJoin? = null, capBezierPoints: Boolean = true, fill: Boolean = true, stepped: Boolean = false)
val backgroundColor: Color?
val borderCapStyle: LineCap?
val borderColor: Color?
val borderDash: List<Any>?
val borderDashOffset: Int
val borderJoinStyle: LineJoin?
val borderWidth: Int
val capBezierPoints: Boolean
val cubicInterpolationMode: InterpolationMode
val fill: Boolean
val stepped: Boolean
val tension: Double
data class Options
Module Contents
Options(responsive: Boolean = true, responsiveAnimationDuration: Int = 0, aspectRatio: Int = 2, maintainAspectRatio: Boolean = true, onResize: ((chart: Chart, newSize: Chart.ChartSize) -> Unit)? = null, devicePixelRatio: Int? = null, hover: HoverOptions? = null, events: List<String>? = null, onHover: ((chart: Chart, event: MouseEvent, activeElements: Array<Any>) -> Any)? = null, onClick: ((chart: Chart, event: MouseEvent, activeElements: Array<Any>) -> Any)? = null, animation: AnimationOptions? = null, layout: LayoutOptions? = null, legend: LegendOptions? = null, legendCallback: ((chart: Chart) -> String)? = null, title: TitleOptions? = null, tooltips: TooltipOptions? = null, elements: ElementsOptions? = null, scales: ChartScales? = null, showLines: Boolean? = null, spanGaps: Boolean? = null, cutoutPercentage: Int? = null, circumference: Double? = null, rotation: Double? = null)
val animation: AnimationOptions?
val aspectRatio: Int
val circumference: Double?
val cutoutPercentage: Int?
val devicePixelRatio: Int?
val elements: ElementsOptions?
val events: List<String>?
val hover: HoverOptions?
val layout: LayoutOptions?
val legend: LegendOptions?
val legendCallback: ((chart: Chart) -> String)?
val maintainAspectRatio: Boolean
val onClick: ((chart: Chart, event: MouseEvent, activeElements: Array<Any>) -> Any)?
val onHover: ((chart: Chart, event: MouseEvent, activeElements: Array<Any>) -> Any)?
val onResize: ((chart: Chart, newSize: Chart.ChartSize) -> Unit)?
val responsive: Boolean
val responsiveAnimationDuration: Int
val rotation: Double?
val scales: ChartScales?
val showLines: Boolean?
val spanGaps: Boolean?
val title: TitleOptions?
val tooltips: TooltipOptions?
data class PointOptions
enum class PointStyle
enum class Position
data class RectangleOptions
enum class ScalesType
data class ScaleTitleOptions
data class TickOptions
Module Contents
TickOptions(callback: ((value: Any, index: Any, values: Any) -> dynamic)? = null, display: Boolean = true, fontSize: Int = 12, fontStyle: FontStyle? = null, fontColor: Color? = null, fontFamily: String? = null, reverse: Boolean = false, minor: dynamic = null, major: dynamic = null)
val callback: ((value: Any, index: Any, values: Any) -> dynamic)?
val display: Boolean
val fontColor: Color?
val fontFamily: String?
val fontSize: Int
val fontStyle: FontStyle?
val major: dynamic
val minor: dynamic
val reverse: Boolean
data class TitleOptions
fun HoverOptions.toJs(): dynamic
fun AnimationOptions.toJs(): dynamic
fun LayoutPaddingObject.toJs(): dynamic
fun LayoutOptions.toJs(): dynamic
fun LegendLabelOptions.toJs(): dynamic
fun LegendOptions.toJs(): dynamic
fun TitleOptions.toJs(i18nTranslator: (String) -> String): dynamic
fun TooltipCallback.toJs(): dynamic
fun TooltipOptions.toJs(): dynamic
fun PointOptions.toJs(): dynamic
fun LineOptions.toJs(): dynamic
fun ArcOptions.toJs(): dynamic
fun RectangleOptions.toJs(): dynamic
fun ElementsOptions.toJs(): dynamic
fun GridLineOptions.toJs(): dynamic
fun ScaleTitleOptions.toJs(i18nTranslator: (String) -> String): dynamic
fun TickOptions.toJs(): dynamic
fun ChartScales.toJs(i18nTranslator: (String) -> String): dynamic
fun Options.toJs(i18nTranslator: (String) -> String): dynamic
fun DataSets.toJs(i18nTranslator: (String) -> String): dynamic
fun Configuration.toJs(i18nTranslator: (String) -> String): Chart.ChartConfiguration
data class TooltipCallback
Module Contents
TooltipCallback(beforeTitle: ((item: Array<Chart.ChartTooltipItem>, data: Chart.ChartData) -> dynamic)? = null, title: ((item: Array<Chart.ChartTooltipItem>, data: Chart.ChartData) -> dynamic)? = null, afterTitle: ((item: Array<Chart.ChartTooltipItem>, data: Chart.ChartData) -> dynamic)? = null, beforeBody: ((item: Array<Chart.ChartTooltipItem>, data: Chart.ChartData) -> dynamic)? = null, beforeLabel: ((tooltipItem: Chart.ChartTooltipItem, data: Chart.ChartData) -> dynamic)? = null, label: ((tooltipItem: Chart.ChartTooltipItem, data: Chart.ChartData) -> dynamic)? = null, labelColor: ((tooltipItem: Chart.ChartTooltipItem, chart: Chart) -> Chart.ChartTooltipLabelColor)? = null, labelTextColor: ((tooltipItem: Chart.ChartTooltipItem, chart: Chart) -> String)? = null, afterLabel: ((tooltipItem: Chart.ChartTooltipItem, data: Chart.ChartData) -> dynamic)? = null, afterBody: ((item: Array<Chart.ChartTooltipItem>, data: Chart.ChartData) -> dynamic)? = null, : ((item: Array<Chart.ChartTooltipItem>, data: Chart.ChartData) -> dynamic)? = null, : ((item: Array<Chart.ChartTooltipItem>, data: Chart.ChartData) -> dynamic)? = null, : ((item: Array<Chart.ChartTooltipItem>, data: Chart.ChartData) -> dynamic)? = null)
val afterBody: ((item: Array<Chart.ChartTooltipItem>, data: Chart.ChartData) -> dynamic)?
val afterFooter: ((item: Array<Chart.ChartTooltipItem>, data: Chart.ChartData) -> dynamic)?
val afterLabel: ((tooltipItem: Chart.ChartTooltipItem, data: Chart.ChartData) -> dynamic)?
val afterTitle: ((item: Array<Chart.ChartTooltipItem>, data: Chart.ChartData) -> dynamic)?
val beforeBody: ((item: Array<Chart.ChartTooltipItem>, data: Chart.ChartData) -> dynamic)?
val beforeFooter: ((item: Array<Chart.ChartTooltipItem>, data: Chart.ChartData) -> dynamic)?
val beforeLabel: ((tooltipItem: Chart.ChartTooltipItem, data: Chart.ChartData) -> dynamic)?
val beforeTitle: ((item: Array<Chart.ChartTooltipItem>, data: Chart.ChartData) -> dynamic)?
val footer: ((item: Array<Chart.ChartTooltipItem>, data: Chart.ChartData) -> dynamic)?
val label: ((tooltipItem: Chart.ChartTooltipItem, data: Chart.ChartData) -> dynamic)?
val labelColor: ((tooltipItem: Chart.ChartTooltipItem, chart: Chart) -> Chart.ChartTooltipLabelColor)?
val labelTextColor: ((tooltipItem: Chart.ChartTooltipItem, chart: Chart) -> String)?
val title: ((item: Array<Chart.ChartTooltipItem>, data: Chart.ChartData) -> dynamic)?
data class TooltipOptions
Module Contents
TooltipOptions(enabled: Boolean = true, custom: ((a: Any) -> Unit)? = null, mode: InteractionMode = InteractionMode.NEAREST, intersect: Boolean = true, position: TooltipPosition = TooltipPosition.AVERAGE, callbacks: TooltipCallback? = null, filter: ((item: Chart.ChartTooltipItem, data: Chart.ChartData) -> Boolean)? = null, itemSort: ((itemA: Chart.ChartTooltipItem, itemB: Chart.ChartTooltipItem) -> Number)? = null, backgroundColor: Color? = null, titleFontSize: Int = 12, titleFontStyle: FontStyle? = null, titleFontColor: Color? = null, titleFontFamily: String? = null, titleSpacing: Int = 2, titleMarginBottom: Int = 6, bodyFontSize: Int = 12, bodyFontStyle: FontStyle? = null, bodyFontColor: Color? = null, bodyFontFamily: String? = null, bodySpacing: Int = 2, : Int = 12, : FontStyle? = null, : Color? = null, : String? = null, : Int = 2, : Int = 6, xPadding: Int = 6, yPadding: Int = 6, caretPadding: Int = 2, caretSize: Int = 5, cornerRadius: Int = 6, multiKeyBackground: Color? = null, displayColors: Boolean = true, borderColor: Color? = null, borderWidth: Int = 0)
val backgroundColor: Color?
val bodyFontColor: Color?
val bodyFontFamily: String?
val bodyFontSize: Int
val bodyFontStyle: FontStyle?
val bodySpacing: Int
val borderColor: Color?
val borderWidth: Int
val callbacks: TooltipCallback?
val caretPadding: Int
val caretSize: Int
val cornerRadius: Int
val custom: ((a: Any) -> Unit)?
val displayColors: Boolean
val enabled: Boolean
val filter: ((item: Chart.ChartTooltipItem, data: Chart.ChartData) -> Boolean)?
val footerFontColor: Color?
val footerFontFamily: String?
val footerFontSize: Int
val footerFontStyle: FontStyle?
val footerMarginTop: Int
val footerSpacing: Int
val intersect: Boolean
val itemSort: ((itemA: Chart.ChartTooltipItem, itemB: Chart.ChartTooltipItem) -> Number)?
val mode: InteractionMode
val multiKeyBackground: Color?
val position: TooltipPosition
val titleFontColor: Color?
val titleFontFamily: String?
val titleFontSize: Int
val titleFontStyle: FontStyle?
val titleMarginBottom: Int
val titleSpacing: Int
val xPadding: Int
val yPadding: Int
enum class TooltipPosition
package pl.treksoft.kvision.chart.js
Module Contents
open external class Chart
Module Contents
Chart(context: String, options: Chart.ChartConfiguration)
Chart(context: <ERROR CLASS>, options: Chart.ChartConfiguration)
Chart(context: <ERROR CLASS>, options: Chart.ChartConfiguration)
Chart(context: Array<dynamic>, options: Chart.ChartConfiguration)
interface AngleLineOptions
open var canvas: <ERROR CLASS>?
var Chart: Any?
interface ChartAnimationObject
interface ChartAnimationOptions
interface ChartAnimationParameter
interface ChartArcOptions
open var chartArea: Chart.ChartArea
interface ChartArea
interface ChartConfiguration
interface ChartData
interface ChartDataSets
interface ChartElementsOptions
interface ChartFontOptions
interface ChartHoverOptions
interface ChartLayoutOptions
interface ChartLayoutPaddingObject
interface ChartLegendItem
interface ChartLegendLabelItem : Chart.ChartLegendItem
interface ChartLegendLabelOptions
interface ChartLegendOptions
interface ChartLineOptions
interface ChartOptions
interface ChartPluginsOptions
interface ChartPoint
interface ChartPointOptions
interface ChartRectangleOptions
interface ChartScales
interface ChartSize
interface ChartTitleOptions
interface ChartTooltipCallback
Module Contents
open val afterBody: ((item: Array<Chart.ChartTooltipItem>, data: Chart.ChartData) -> dynamic)?
open val afterFooter: ((item: Array<Chart.ChartTooltipItem>, data: Chart.ChartData) -> dynamic)?
open val afterLabel: ((tooltipItem: Chart.ChartTooltipItem, data: Chart.ChartData) -> dynamic)?
open val afterTitle: ((item: Array<Chart.ChartTooltipItem>, data: Chart.ChartData) -> dynamic)?
open val beforeBody: ((item: Array<Chart.ChartTooltipItem>, data: Chart.ChartData) -> dynamic)?
open val beforeFooter: ((item: Array<Chart.ChartTooltipItem>, data: Chart.ChartData) -> dynamic)?
open val beforeLabel: ((tooltipItem: Chart.ChartTooltipItem, data: Chart.ChartData) -> dynamic)?
open val beforeTitle: ((item: Array<Chart.ChartTooltipItem>, data: Chart.ChartData) -> dynamic)?
open val footer: ((item: Array<Chart.ChartTooltipItem>, data: Chart.ChartData) -> dynamic)?
open val label: ((tooltipItem: Chart.ChartTooltipItem, data: Chart.ChartData) -> dynamic)?
open val labelColor: ((tooltipItem: Chart.ChartTooltipItem, chart: Chart) -> Chart.ChartTooltipLabelColor)?
open val labelTextColor: ((tooltipItem: Chart.ChartTooltipItem, chart: Chart) -> String)?
open val title: ((item: Array<Chart.ChartTooltipItem>, data: Chart.ChartData) -> dynamic)?
interface ChartTooltipItem
interface ChartTooltipLabelColor
interface ChartTooltipOptions
interface ChartTooltipsStaticConfiguration
interface ChartXAxe : Chart.CommonAxe
interface ChartYAxe : Chart.CommonAxe
open fun clear(): Any
interface CommonAxe
open var config: Chart.ChartConfiguration
var controllers: Json
open var ctx: <ERROR CLASS>?
open var data: Chart.ChartData
var defaults: Defaults
open fun destroy(): Any
open fun generateLegend(): Any
open fun getDatasetAtEvent(e: Any): Array<Any>
open fun getDatasetMeta(index: Number): Meta
open fun getElementAtEvent(e: Any): Any
open fun getElementsAtEvent(e: Any): Array<Any>
interface GridLineOptions
var helpers: Json
interface LinearScale : Chart.ChartScales
interface LinearTickOptions : Chart.TickOptions
interface LogarithmicScale : Chart.ChartScales
interface LogarithmicTickOptions : Chart.TickOptions
interface NestedTickOptions
var plugins: PluginServiceStatic
var pluginService: PluginServiceStatic
interface Point
interface PointLabelOptions
interface Positioners
interface RadialChartOptions : Chart.ChartOptions
interface RadialLinearScale : Chart.LinearScale
open fun render(duration: Any? = definedExternally, lazy: Any? = definedExternally): Any
open fun reset(): Any
open fun resize(): Any
interface ScaleTitleOptions
open fun stop(): Any
interface TickOptions : Chart.NestedTickOptions
interface TimeDisplayFormat
interface TimeScale : Chart.ChartScales
open fun toBase64Image(): String
var Tooltip: Chart.ChartTooltipsStaticConfiguration
open fun update(duration: Any? = definedExternally, lazy: Any? = definedExternally): Any
external interface Defaults
inline operator fun Defaults.get(key: String): Any?
inline operator fun Chart.Positioners.get(mode: String): ((elements: Array<Any>, eventPosition: Chart.Point) -> Chart.Point)?
inline operator fun Chart.ChartPluginsOptions.get(pluginId: String): Any?
external interface Meta
external interface MetaData
external interface Model
external interface PluginServiceGlobalRegistration
external interface PluginServiceRegistrationOptions
Module Contents
open val afterDatasetDraw: ((chartInstance: Chart, easing: String, options: Any?) -> Unit)?
open val afterDatasetsDraw: ((chartInstance: Chart, easing: String, options: Any?) -> Unit)?
open val afterDatasetsUpdate: ((chartInstance: Chart, options: Any?) -> Unit)?
open val afterDatasetUpdate: ((chartInstance: Chart, options: Any?) -> Unit)?
open val afterDraw: ((chartInstance: Chart, easing: String, options: Any?) -> Unit)?
open val afterEvent: ((chartInstance: Chart, event: Event, options: Any?) -> Unit)?
open val afterInit: ((chartInstance: Chart, options: Any?) -> Unit)?
open val afterLayout: ((chartInstance: Chart, options: Any?) -> Unit)?
open val afterRender: ((chartInstance: Chart, options: Any?) -> Unit)?
open val afterScaleUpdate: ((chartInstance: Chart, options: Any?) -> Unit)?
open val afterTooltipDraw: ((chartInstance: Chart, tooltipData: Any?, options: Any?) -> Unit)?
open val afterUpdate: ((chartInstance: Chart, options: Any?) -> Unit)?
open val beforeDatasetDraw: ((chartInstance: Chart, easing: String, options: Any?) -> Unit)?
open val beforeDatasetsDraw: ((chartInstance: Chart, easing: String, options: Any?) -> Unit)?
open val beforeDatasetsUpdate: ((chartInstance: Chart, options: Any?) -> Unit)?
open val beforeDatasetUpdate: ((chartInstance: Chart, options: Any?) -> Unit)?
open val beforeDraw: ((chartInstance: Chart, easing: String, options: Any?) -> Unit)?
open val beforeEvent: ((chartInstance: Chart, event: Event, options: Any?) -> Unit)?
open val beforeInit: ((chartInstance: Chart, options: Any?) -> Unit)?
open val beforeLayout: ((chartInstance: Chart, options: Any?) -> Unit)?
open val beforeRender: ((chartInstance: Chart, options: Any?) -> Unit)?
open val beforeTooltipDraw: ((chartInstance: Chart, tooltipData: Any?, options: Any?) -> Unit)?
open val beforeUpdate: ((chartInstance: Chart, options: Any?) -> Unit)?
open val destroy: ((chartInstance: Chart) -> Unit)?
open val resize: ((chartInstance: Chart, newChartSize: Chart.ChartSize, options: Any?) -> Unit)?
open external class PluginServiceStatic
inline operator fun Defaults.set(key: String, value: Any): Unit
inline operator fun Chart.Positioners.set(mode: String, noinline value: (elements: Array<Any>, eventPosition: Chart.Point) -> Chart.Point): Unit
inline operator fun Chart.ChartPluginsOptions.set(pluginId: String, value: Any): Unit
package pl.treksoft.kvision.core
Module Contents
class Background
Module Contents
Background(image: ResString? = null, positionX: CssSize? = null, positionY: CssSize? = null, sizeX: CssSize? = null, sizeY: CssSize? = null, size: BgSize? = null, repeat: BgRepeat? = null, origin: BgOrigin? = null, clip: BgClip? = null, attachment: BgAttach? = null)
Background(color: Int, image: ResString? = null, positionX: CssSize? = null, positionY: CssSize? = null, sizeX: CssSize? = null, sizeY: CssSize? = null, size: BgSize? = null, repeat: BgRepeat? = null, origin: BgOrigin? = null, clip: BgClip? = null, attachment: BgAttach? = null)
Background(color: Col, image: ResString? = null, positionX: CssSize? = null, positionY: CssSize? = null, sizeX: CssSize? = null, sizeY: CssSize? = null, size: BgSize? = null, repeat: BgRepeat? = null, origin: BgOrigin? = null, clip: BgClip? = null, attachment: BgAttach? = null)
enum class BgAttach
enum class BgClip
enum class BgOrigin
enum class BgRepeat
enum class BgSize
class Border
enum class BorderStyle
enum class Clear
enum class Col
class Color
interface Component
interface Container : Component
typealias CssSize = Pair<Int, UNIT>
enum class Direction
enum class Display
enum class FontStyle
enum class FontVariant
enum class FontWeight
enum class LineBreak
enum class Overflow
enum class OverflowWrap
enum class Placement
data class PopoverOptions
enum class PosFloat
enum class Position
enum class Resize
typealias ResString = String
typealias StringBoolPair = Pair<String, Boolean>
typealias StringPair = Pair<String, String>
open class Style : StyledComponent
abstract class StyledComponent : Component
enum class TextAlign
class TextDecoration
enum class TextDecorationLine
enum class TextDecorationStyle
enum class TextOverflow
class TextShadow
enum class TextTransform
fun TooltipOptions.toJs(): dynamic
fun PopoverOptions.toJs(): dynamic
data class TooltipOptions
enum class Trigger
enum class UnicodeBidi
enum class UNIT
enum class VerticalAlign
enum class WhiteSpace
open class Widget : StyledComponent
open class WidgetWrapper : SimplePanel
enum class WordBreak
package pl.treksoft.kvision.data
Module Contents
abstract class BaseDataComponent : DataComponent
interface DataComponent
class DataContainer<M, C : Component, CONT : Container> : Widget, Container, DataUpdatable
Module Contents
DataContainer(model: ObservableList<M>, factory: (M, Int, ObservableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null)
fun add(child: Component): Container
fun addAll(children: List<Component>): Container
fun clearOnUpdate(): DataContainer<M, C, CONT>
fun <M, C : Component, CONT : Container> Container.dataContainer(model: ObservableList<M>, factory: (M, Int, ObservableList<M>) -> C, container: CONT, containerAdd: (CONT.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, CONT>.() -> Unit)? = null): DataContainer<M, C, CONT>
fun <M, C : Component> Container.dataContainer(model: ObservableList<M>, factory: (M, Int, ObservableList<M>) -> C, containerAdd: (VPanel.(C, M) -> Unit)? = null, filter: ((M) -> Boolean)? = null, sorter: ((M) -> Comparable<*>?)? = null, sorterType: () -> SorterType = { SorterType.ASC }, init: (DataContainer<M, C, VPanel>.() -> Unit)? = null): DataContainer<M, C, VPanel>
fun getChildren(): List<Component>
fun onUpdate(handler: () -> Unit): DataContainer<M, C, CONT>
fun remove(child: Component): Container
fun removeAll(): Container
fun update(): Unit
var visible: Boolean
interface DataUpdatable
enum class SorterType
package pl.treksoft.kvision.dropdown
Module Contents
open class ContextMenu : ListTag
enum class DD
open class DropDown : SimplePanel
Module Contents
DropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, disabled: Boolean = false, forNavbar: Boolean = false, withCaret: Boolean = true, classes: Set<String> = setOf())
open fun add(child: Component): SimplePanel
open fun addAll(children: List<Component>): SimplePanel
protected open fun afterInsert(node: VNode): Unit
var block: Boolean
fun buttonId(): String?
var disabled: Boolean
fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, disabled: Boolean = false, forNavbar: Boolean = false, withCaret: Boolean = true, classes: Set<String> = setOf(), init: (DropDown.() -> Unit)? = null): DropDown
var dropup: Boolean
val forNavbar: Boolean
open fun getChildren(): List<Component>
protected open fun getSnClass(): List<StringBoolPair>
var icon: String?
var image: ResString?
open fun remove(child: Component): SimplePanel
open fun removeAll(): SimplePanel
protected open fun render(): VNode
var size: ButtonSize?
var style: ButtonStyle
var text: String
open fun toggle(): Unit
open var width: CssSize?
open class Header : Tag
open class Separator : Tag
package pl.treksoft.kvision.electron
Module Contents
external interface AboutPanelOptionsOptions
open external class Accelerator
external interface AddRepresentationOptions
external interface AllElectron : MainInterface, RendererInterface
external var app: App
external interface App : EventEmitter
Module Contents
abstract fun addListener(event: String, listener: (event: Event, accessibilitySupportEnabled: Boolean) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event, hasVisibleWindows: Boolean) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event, type: String, userInfo: Any) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event, window: BrowserWindow) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event, window: BrowserWindow) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event, window: BrowserWindow) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event, webContents: WebContents, url: String, error: String, certificate: Certificate, callback: (isTrusted: Boolean) -> Unit) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event, type: String, userInfo: Any) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event, type: String, error: String) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event, killed: Boolean) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event, webContents: WebContents, request: Request, authInfo: AuthInfo, callback: (username: String, password: String) -> Unit) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event, path: String) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event, url: String) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event, exitCode: Number) -> Unit): App
abstract fun addListener(event: String, listener: (launchInfo: Any) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event, webContents: WebContents, url: String, certificateList: Array<Certificate>, callback: (certificate: Certificate?) -> Unit) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event, type: String, userInfo: Any) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event, webContents: WebContents) -> Unit): App
abstract fun addListener(event: String, listener: (event: Event, type: String) -> Unit): App
abstract fun addListener(event: String, listener: Function<*>): App
abstract fun addListener(event: String, listener: (event: Event) -> Unit): App
abstract fun addListener(event: String, listener: Function<*>): App
abstract fun addRecentDocument(path: String): Unit
abstract fun clearRecentDocuments(): Unit
abstract var commandLine: CommandLine
abstract fun disableDomainBlockingFor3DAPIs(): Unit
abstract fun disableHardwareAcceleration(): Unit
abstract var dock: Dock
abstract fun enableMixedSandbox(): Unit
abstract fun exit(exitCode: Number? = definedExternally): Unit
abstract fun focus(): Unit
abstract fun getAppMetrics(): Array<ProcessMetric>
abstract fun getAppPath(): String
abstract fun getBadgeCount(): Number
abstract fun getCurrentActivityType(): String
abstract fun getFileIcon(path: String, callback: (Error, icon: NativeImage) -> Unit): Unit
abstract fun getFileIcon(path: String, options: FileIconOptions, callback: (Error, icon: NativeImage) -> Unit): Unit
abstract fun getGPUFeatureStatus(): GPUFeatureStatus
abstract fun getJumpListSettings(): JumpListSettings
abstract fun getLocale(): String
abstract fun getLoginItemSettings(options: LoginItemSettingsOptions? = definedExternally): LoginItemSettings
abstract fun getName(): String
abstract fun getPath(name: String): String
abstract fun getVersion(): String
abstract fun hide(): Unit
abstract fun importCertificate(options: ImportCertificateOptions, callback: (result: Number) -> Unit): Unit
abstract fun invalidateCurrentActivity(type: String): Unit
abstract fun isAccessibilitySupportEnabled(): Boolean
abstract fun isDefaultProtocolClient(protocol: String, path: String? = definedExternally, args: Array<String>? = definedExternally): Boolean
abstract fun isInApplicationsFolder(): Boolean
abstract fun isReady(): Boolean
abstract fun isUnityRunning(): Boolean
abstract fun makeSingleInstance(callback: (argv: Array<String>, workingDirectory: String) -> Unit): Boolean
abstract fun moveToApplicationsFolder(): Boolean
abstract fun on(event: String, listener: (event: Event, accessibilitySupportEnabled: Boolean) -> Unit): App
abstract fun on(event: String, listener: (event: Event, hasVisibleWindows: Boolean) -> Unit): App
abstract fun on(event: String, listener: (event: Event, type: String, userInfo: Any) -> Unit): App
abstract fun on(event: String, listener: (event: Event) -> Unit): App
abstract fun on(event: String, listener: (event: Event, window: BrowserWindow) -> Unit): App
abstract fun on(event: String, listener: (event: Event, window: BrowserWindow) -> Unit): App
abstract fun on(event: String, listener: (event: Event, window: BrowserWindow) -> Unit): App
abstract fun on(event: String, listener: (event: Event, webContents: WebContents, url: String, error: String, certificate: Certificate, callback: (isTrusted: Boolean) -> Unit) -> Unit): App
abstract fun on(event: String, listener: (event: Event, type: String, userInfo: Any) -> Unit): App
abstract fun on(event: String, listener: (event: Event, type: String, error: String) -> Unit): App
abstract fun on(event: String, listener: (event: Event, killed: Boolean) -> Unit): App
abstract fun on(event: String, listener: (event: Event, webContents: WebContents, request: Request, authInfo: AuthInfo, callback: (username: String, password: String) -> Unit) -> Unit): App
abstract fun on(event: String, listener: (event: Event) -> Unit): App
abstract fun on(event: String, listener: (event: Event, path: String) -> Unit): App
abstract fun on(event: String, listener: (event: Event, url: String) -> Unit): App
abstract fun on(event: String, listener: (event: Event, exitCode: Number) -> Unit): App
abstract fun on(event: String, listener: (launchInfo: Any) -> Unit): App
abstract fun on(event: String, listener: (event: Event, webContents: WebContents, url: String, certificateList: Array<Certificate>, callback: (certificate: Certificate?) -> Unit) -> Unit): App
abstract fun on(event: String, listener: (event: Event, type: String, userInfo: Any) -> Unit): App
abstract fun on(event: String, listener: (event: Event, webContents: WebContents) -> Unit): App
abstract fun on(event: String, listener: (event: Event, type: String) -> Unit): App
abstract fun on(event: String, listener: Function<*>): App
abstract fun on(event: String, listener: (event: Event) -> Unit): App
abstract fun on(event: String, listener: Function<*>): App
abstract fun once(event: String, listener: (event: Event, accessibilitySupportEnabled: Boolean) -> Unit): App
abstract fun once(event: String, listener: (event: Event, hasVisibleWindows: Boolean) -> Unit): App
abstract fun once(event: String, listener: (event: Event, type: String, userInfo: Any) -> Unit): App
abstract fun once(event: String, listener: (event: Event) -> Unit): App
abstract fun once(event: String, listener: (event: Event, window: BrowserWindow) -> Unit): App
abstract fun once(event: String, listener: (event: Event, window: BrowserWindow) -> Unit): App
abstract fun once(event: String, listener: (event: Event, window: BrowserWindow) -> Unit): App
abstract fun once(event: String, listener: (event: Event, webContents: WebContents, url: String, error: String, certificate: Certificate, callback: (isTrusted: Boolean) -> Unit) -> Unit): App
abstract fun once(event: String, listener: (event: Event, type: String, userInfo: Any) -> Unit): App
abstract fun once(event: String, listener: (event: Event, type: String, error: String) -> Unit): App
abstract fun once(event: String, listener: (event: Event, killed: Boolean) -> Unit): App
abstract fun once(event: String, listener: (event: Event, webContents: WebContents, request: Request, authInfo: AuthInfo, callback: (username: String, password: String) -> Unit) -> Unit): App
abstract fun once(event: String, listener: (event: Event) -> Unit): App
abstract fun once(event: String, listener: (event: Event, path: String) -> Unit): App
abstract fun once(event: String, listener: (event: Event, url: String) -> Unit): App
abstract fun once(event: String, listener: (event: Event, exitCode: Number) -> Unit): App
abstract fun once(event: String, listener: (launchInfo: Any) -> Unit): App
abstract fun once(event: String, listener: (event: Event, webContents: WebContents, url: String, certificateList: Array<Certificate>, callback: (certificate: Certificate?) -> Unit) -> Unit): App
abstract fun once(event: String, listener: (event: Event, type: String, userInfo: Any) -> Unit): App
abstract fun once(event: String, listener: (event: Event, webContents: WebContents) -> Unit): App
abstract fun once(event: String, listener: (event: Event, type: String) -> Unit): App
abstract fun once(event: String, listener: Function<*>): App
abstract fun once(event: String, listener: (event: Event) -> Unit): App
abstract fun once(event: String, listener: Function<*>): App
abstract fun quit(): Unit
abstract fun relaunch(options: RelaunchOptions? = definedExternally): Unit
abstract fun releaseSingleInstance(): Unit
abstract fun removeAsDefaultProtocolClient(protocol: String, path: String? = definedExternally, args: Array<String>? = definedExternally): Boolean
abstract fun removeListener(event: String, listener: (event: Event, accessibilitySupportEnabled: Boolean) -> Unit): App
abstract fun removeListener(event: String, listener: (event: Event, hasVisibleWindows: Boolean) -> Unit): App
abstract fun removeListener(event: String, listener: (event: Event, type: String, userInfo: Any) -> Unit): App
abstract fun removeListener(event: String, listener: (event: Event) -> Unit): App
abstract fun removeListener(event: String, listener: (event: Event, window: BrowserWindow) -> Unit): App
abstract fun removeListener(event: String, listener: (event: Event, window: BrowserWindow) -> Unit): App
abstract fun removeListener(event: String, listener: (event: Event, window: BrowserWindow) -> Unit): App
abstract fun removeListener(event: String, listener: (event: Event, webContents: WebContents, url: String, error: String, certificate: Certificate, callback: (isTrusted: Boolean) -> Unit) -> Unit): App
abstract fun removeListener(event: String, listener: (event: Event, type: String, userInfo: Any) -> Unit): App
abstract fun removeListener(event: String, listener: (event: Event, type: String, error: String) -> Unit): App
abstract fun removeListener(event: String, listener: (event: Event, killed: Boolean) -> Unit): App
abstract fun removeListener(event: String, listener: (event: Event, webContents: WebContents, request: Request, authInfo: AuthInfo, callback: (username: String, password: String) -> Unit) -> Unit): App
abstract fun removeListener(event: String, listener: (event: Event) -> Unit): App
abstract fun removeListener(event: String, listener: (event: Event, path: String) -> Unit): App
abstract fun removeListener(event: String, listener: (event: Event, url: String) -> Unit): App
abstract fun removeListener(event: String, listener: (event: Event, exitCode: Number) -> Unit): App
abstract fun removeListener(event: String, listener: (launchInfo: Any) -> Unit): App
abstract fun removeListener(event: String, listener: (event: Event, webContents: WebContents, url: String, certificateList: Array<Certificate>, callback: (certificate: Certificate?) -> Unit) -> Unit): App
abstract fun removeListener(event: String, listener: (event: Event, type: String, userInfo: Any) -> Unit): App
abstract fun removeListener(event: String, listener: (event: Event, webContents: WebContents) -> Unit): App
abstract fun removeListener(event: String, listener: (event: Event, type: String) -> Unit): App
abstract fun removeListener(event: String, listener: Function<*>): App
abstract fun removeListener(event: String, listener: (event: Event) -> Unit): App
abstract fun removeListener(event: String, listener: Function<*>): App
abstract fun setAboutPanelOptions(options: AboutPanelOptionsOptions): Unit
abstract fun setAccessibilitySupportEnabled(enabled: Boolean): Unit
abstract fun setAppUserModelId(id: String): Unit
abstract fun setAsDefaultProtocolClient(protocol: String, path: String? = definedExternally, args: Array<String>? = definedExternally): Boolean
abstract fun setBadgeCount(count: Number): Boolean
abstract fun setJumpList(categories: Array<JumpListCategory>): Unit
abstract fun setLoginItemSettings(settings: Settings): Unit
abstract fun setName(name: String): Unit
abstract fun setPath(name: String, path: String): Unit
abstract fun setUserActivity(type: String, userInfo: Any, webpageURL: String? = definedExternally): Unit
abstract fun setUserTasks(tasks: Array<Task>): Boolean
abstract fun show(): Unit
abstract fun startAccessingSecurityScopedResource(bookmarkData: String): Function<*>
abstract fun updateCurrentActivity(type: String, userInfo: Any): Unit
external interface AppDetailsOptions
external interface AuthInfo
external interface AutoResizeOptions
external var autoUpdater: AutoUpdater
external interface AutoUpdater : EventEmitter
Module Contents
abstract fun addListener(event: String, listener: Function<*>): AutoUpdater
abstract fun addListener(event: String, listener: (Error) -> Unit): AutoUpdater
abstract fun addListener(event: String, listener: Function<*>): AutoUpdater
abstract fun addListener(event: String, listener: (event: Event, releaseNotes: String, releaseName: String, releaseDate: Date, updateURL: String) -> Unit): AutoUpdater
abstract fun addListener(event: String, listener: Function<*>): AutoUpdater
abstract fun checkForUpdates(): Unit
abstract fun getFeedURL(): String
abstract fun on(event: String, listener: Function<*>): AutoUpdater
abstract fun on(event: String, listener: (Error) -> Unit): AutoUpdater
abstract fun on(event: String, listener: Function<*>): AutoUpdater
abstract fun on(event: String, listener: (event: Event, releaseNotes: String, releaseName: String, releaseDate: Date, updateURL: String) -> Unit): AutoUpdater
abstract fun on(event: String, listener: Function<*>): AutoUpdater
abstract fun once(event: String, listener: Function<*>): AutoUpdater
abstract fun once(event: String, listener: (Error) -> Unit): AutoUpdater
abstract fun once(event: String, listener: Function<*>): AutoUpdater
abstract fun once(event: String, listener: (event: Event, releaseNotes: String, releaseName: String, releaseDate: Date, updateURL: String) -> Unit): AutoUpdater
abstract fun once(event: String, listener: Function<*>): AutoUpdater
abstract fun quitAndInstall(): Unit
abstract fun removeListener(event: String, listener: Function<*>): AutoUpdater
abstract fun removeListener(event: String, listener: (Error) -> Unit): AutoUpdater
abstract fun removeListener(event: String, listener: Function<*>): AutoUpdater
abstract fun removeListener(event: String, listener: (event: Event, releaseNotes: String, releaseName: String, releaseDate: Date, updateURL: String) -> Unit): AutoUpdater
abstract fun removeListener(event: String, listener: Function<*>): AutoUpdater
abstract fun setFeedURL(options: FeedURLOptions): Unit
external interface BitmapOptions
external interface BluetoothDevice
open external class BrowserView : EventEmitter
external interface BrowserViewConstructorOptions
open external class BrowserWindow : EventEmitter
Module Contents
BrowserWindow(options: BrowserWindowConstructorOptions? = definedExternally)
fun addDevToolsExtension(path: String): Unit
fun addExtension(path: String): Unit
open fun addListener(event: String, listener: (event: Event, command: String) -> Unit): BrowserWindow
open fun addListener(event: String, listener: Function<*>): BrowserWindow
open fun addListener(event: String, listener: (event: Event) -> Unit): BrowserWindow
open fun addListener(event: String, listener: Function<*>): BrowserWindow
open fun addListener(event: String, listener: Function<*>): BrowserWindow
open fun addListener(event: String, listener: Function<*>): BrowserWindow
open fun addListener(event: String, listener: Function<*>): BrowserWindow
open fun addListener(event: String, listener: Function<*>): BrowserWindow
open fun addListener(event: String, listener: Function<*>): BrowserWindow
open fun addListener(event: String, listener: Function<*>): BrowserWindow
open fun addListener(event: String, listener: Function<*>): BrowserWindow
open fun addListener(event: String, listener: Function<*>): BrowserWindow
open fun addListener(event: String, listener: Function<*>): BrowserWindow
open fun addListener(event: String, listener: Function<*>): BrowserWindow
open fun addListener(event: String, listener: Function<*>): BrowserWindow
open fun addListener(event: String, listener: (event: Event, title: String) -> Unit): BrowserWindow
open fun addListener(event: String, listener: Function<*>): BrowserWindow
open fun addListener(event: String, listener: Function<*>): BrowserWindow
open fun addListener(event: String, listener: Function<*>): BrowserWindow
open fun addListener(event: String, listener: Function<*>): BrowserWindow
open fun addListener(event: String, listener: Function<*>): BrowserWindow
open fun addListener(event: String, listener: Function<*>): BrowserWindow
open fun addListener(event: String, listener: Function<*>): BrowserWindow
open fun addListener(event: String, listener: Function<*>): BrowserWindow
open fun addListener(event: String, listener: Function<*>): BrowserWindow
open fun addListener(event: String, listener: Function<*>): BrowserWindow
open fun addListener(event: String, listener: Function<*>): BrowserWindow
open fun addListener(event: String, listener: (event: Event, direction: String) -> Unit): BrowserWindow
open fun addListener(event: String, listener: Function<*>): BrowserWindow
open fun addListener(event: String, listener: Function<*>): BrowserWindow
open fun addTabbedWindow(browserWindow: BrowserWindow): Unit
open fun blur(): Unit
open fun blurWebView(): Unit
open fun capturePage(callback: (image: NativeImage) -> Unit): Unit
open fun capturePage(rect: Rectangle, callback: (image: NativeImage) -> Unit): Unit
open fun center(): Unit
open fun close(): Unit
open fun closeFilePreview(): Unit
open fun destroy(): Unit
open fun flashFrame(flag: Boolean): Unit
open fun focus(): Unit
open fun focusOnWebView(): Unit
fun fromBrowserView(browserView: BrowserView): BrowserWindow?
fun fromId(id: Number): BrowserWindow
fun fromWebContents(webContents: WebContents): BrowserWindow
fun getAllWindows(): Array<BrowserWindow>
open fun getBounds(): Rectangle
open fun getBrowserView(): BrowserView?
open fun getChildWindows(): Array<BrowserWindow>
open fun getContentBounds(): Rectangle
open fun getContentSize(): Array<Number>
fun getDevToolsExtensions(): DevToolsExtensions
fun getExtensions(): Extensions
fun getFocusedWindow(): BrowserWindow
open fun getMaximumSize(): Array<Number>
open fun getMinimumSize(): Array<Number>
open fun getNativeWindowHandle(): <ERROR CLASS>
open fun getOpacity(): Number
open fun getParentWindow(): BrowserWindow
open fun getPosition(): Array<Number>
open fun getRepresentedFilename(): String
open fun getSize(): Array<Number>
open fun getTitle(): String
open fun hasShadow(): Boolean
open fun hide(): Unit
open fun hookWindowMessage(message: Number, callback: Function<*>): Unit
open var id: Number
open fun isAlwaysOnTop(): Boolean
open fun isClosable(): Boolean
open fun isDestroyed(): Boolean
open fun isDocumentEdited(): Boolean
open fun isFocused(): Boolean
open fun isFullScreen(): Boolean
open fun isFullScreenable(): Boolean
open fun isKiosk(): Boolean
open fun isMaximizable(): Boolean
open fun isMaximized(): Boolean
open fun isMenuBarAutoHide(): Boolean
open fun isMenuBarVisible(): Boolean
open fun isMinimizable(): Boolean
open fun isMinimized(): Boolean
open fun isModal(): Boolean
open fun isMovable(): Boolean
open fun isResizable(): Boolean
open fun isSimpleFullScreen(): Boolean
open fun isVisible(): Boolean
open fun isVisibleOnAllWorkspaces(): Boolean
open fun isWindowMessageHooked(message: Number): Boolean
open fun loadFile(filePath: String): Unit
open fun loadURL(url: String, options: LoadURLOptions? = definedExternally): Unit
open fun maximize(): Unit
open fun mergeAllWindows(): Unit
open fun minimize(): Unit
open fun moveTabToNewWindow(): Unit
open fun on(event: String, listener: (event: Event, command: String) -> Unit): BrowserWindow
open fun on(event: String, listener: Function<*>): BrowserWindow
open fun on(event: String, listener: (event: Event) -> Unit): BrowserWindow
open fun on(event: String, listener: Function<*>): BrowserWindow
open fun on(event: String, listener: Function<*>): BrowserWindow
open fun on(event: String, listener: Function<*>): BrowserWindow
open fun on(event: String, listener: Function<*>): BrowserWindow
open fun on(event: String, listener: Function<*>): BrowserWindow
open fun on(event: String, listener: Function<*>): BrowserWindow
open fun on(event: String, listener: Function<*>): BrowserWindow
open fun on(event: String, listener: Function<*>): BrowserWindow
open fun on(event: String, listener: Function<*>): BrowserWindow
open fun on(event: String, listener: Function<*>): BrowserWindow
open fun on(event: String, listener: Function<*>): BrowserWindow
open fun on(event: String, listener: Function<*>): BrowserWindow
open fun on(event: String, listener: (event: Event, title: String) -> Unit): BrowserWindow
open fun on(event: String, listener: Function<*>): BrowserWindow
open fun on(event: String, listener: Function<*>): BrowserWindow
open fun on(event: String, listener: Function<*>): BrowserWindow
open fun on(event: String, listener: Function<*>): BrowserWindow
open fun on(event: String, listener: Function<*>): BrowserWindow
open fun on(event: String, listener: Function<*>): BrowserWindow
open fun on(event: String, listener: Function<*>): BrowserWindow
open fun on(event: String, listener: Function<*>): BrowserWindow
open fun on(event: String, listener: Function<*>): BrowserWindow
open fun on(event: String, listener: Function<*>): BrowserWindow
open fun on(event: String, listener: Function<*>): BrowserWindow
open fun on(event: String, listener: (event: Event, direction: String) -> Unit): BrowserWindow
open fun on(event: String, listener: Function<*>): BrowserWindow
open fun on(event: String, listener: Function<*>): BrowserWindow
open fun once(event: String, listener: (event: Event, command: String) -> Unit): BrowserWindow
open fun once(event: String, listener: Function<*>): BrowserWindow
open fun once(event: String, listener: (event: Event) -> Unit): BrowserWindow
open fun once(event: String, listener: Function<*>): BrowserWindow
open fun once(event: String, listener: Function<*>): BrowserWindow
open fun once(event: String, listener: Function<*>): BrowserWindow
open fun once(event: String, listener: Function<*>): BrowserWindow
open fun once(event: String, listener: Function<*>): BrowserWindow
open fun once(event: String, listener: Function<*>): BrowserWindow
open fun once(event: String, listener: Function<*>): BrowserWindow
open fun once(event: String, listener: Function<*>): BrowserWindow
open fun once(event: String, listener: Function<*>): BrowserWindow
open fun once(event: String, listener: Function<*>): BrowserWindow
open fun once(event: String, listener: Function<*>): BrowserWindow
open fun once(event: String, listener: Function<*>): BrowserWindow
open fun once(event: String, listener: (event: Event, title: String) -> Unit): BrowserWindow
open fun once(event: String, listener: Function<*>): BrowserWindow
open fun once(event: String, listener: Function<*>): BrowserWindow
open fun once(event: String, listener: Function<*>): BrowserWindow
open fun once(event: String, listener: Function<*>): BrowserWindow
open fun once(event: String, listener: Function<*>): BrowserWindow
open fun once(event: String, listener: Function<*>): BrowserWindow
open fun once(event: String, listener: Function<*>): BrowserWindow
open fun once(event: String, listener: Function<*>): BrowserWindow
open fun once(event: String, listener: Function<*>): BrowserWindow
open fun once(event: String, listener: Function<*>): BrowserWindow
open fun once(event: String, listener: Function<*>): BrowserWindow
open fun once(event: String, listener: (event: Event, direction: String) -> Unit): BrowserWindow
open fun once(event: String, listener: Function<*>): BrowserWindow
open fun once(event: String, listener: Function<*>): BrowserWindow
open fun previewFile(path: String, displayName: String? = definedExternally): Unit
open fun reload(): Unit
fun removeDevToolsExtension(name: String): Unit
fun removeExtension(name: String): Unit
open fun removeListener(event: String, listener: (event: Event, command: String) -> Unit): BrowserWindow
open fun removeListener(event: String, listener: Function<*>): BrowserWindow
open fun removeListener(event: String, listener: (event: Event) -> Unit): BrowserWindow
open fun removeListener(event: String, listener: Function<*>): BrowserWindow
open fun removeListener(event: String, listener: Function<*>): BrowserWindow
open fun removeListener(event: String, listener: Function<*>): BrowserWindow
open fun removeListener(event: String, listener: Function<*>): BrowserWindow
open fun removeListener(event: String, listener: Function<*>): BrowserWindow
open fun removeListener(event: String, listener: Function<*>): BrowserWindow
open fun removeListener(event: String, listener: Function<*>): BrowserWindow
open fun removeListener(event: String, listener: Function<*>): BrowserWindow
open fun removeListener(event: String, listener: Function<*>): BrowserWindow
open fun removeListener(event: String, listener: Function<*>): BrowserWindow
open fun removeListener(event: String, listener: Function<*>): BrowserWindow
open fun removeListener(event: String, listener: Function<*>): BrowserWindow
open fun removeListener(event: String, listener: (event: Event, title: String) -> Unit): BrowserWindow
open fun removeListener(event: String, listener: Function<*>): BrowserWindow
open fun removeListener(event: String, listener: Function<*>): BrowserWindow
open fun removeListener(event: String, listener: Function<*>): BrowserWindow
open fun removeListener(event: String, listener: Function<*>): BrowserWindow
open fun removeListener(event: String, listener: Function<*>): BrowserWindow
open fun removeListener(event: String, listener: Function<*>): BrowserWindow
open fun removeListener(event: String, listener: Function<*>): BrowserWindow
open fun removeListener(event: String, listener: Function<*>): BrowserWindow
open fun removeListener(event: String, listener: Function<*>): BrowserWindow
open fun removeListener(event: String, listener: Function<*>): BrowserWindow
open fun removeListener(event: String, listener: Function<*>): BrowserWindow
open fun removeListener(event: String, listener: (event: Event, direction: String) -> Unit): BrowserWindow
open fun removeListener(event: String, listener: Function<*>): BrowserWindow
open fun removeListener(event: String, listener: Function<*>): BrowserWindow
open fun restore(): Unit
open fun selectNextTab(): Unit
open fun selectPreviousTab(): Unit
open fun setAlwaysOnTop(flag: Boolean, level: String? = definedExternally, relativeLevel: Number? = definedExternally): Unit
open fun setAlwaysOnTop(flag: Boolean, level: String? = definedExternally, relativeLevel: Number? = definedExternally): Unit
open fun setAlwaysOnTop(flag: Boolean, level: String? = definedExternally, relativeLevel: Number? = definedExternally): Unit
open fun setAlwaysOnTop(flag: Boolean, level: String? = definedExternally, relativeLevel: Number? = definedExternally): Unit
open fun setAlwaysOnTop(flag: Boolean, level: String? = definedExternally, relativeLevel: Number? = definedExternally): Unit
open fun setAlwaysOnTop(flag: Boolean, level: String? = definedExternally, relativeLevel: Number? = definedExternally): Unit
open fun setAlwaysOnTop(flag: Boolean, level: String? = definedExternally, relativeLevel: Number? = definedExternally): Unit
open fun setAlwaysOnTop(flag: Boolean, level: String? = definedExternally, relativeLevel: Number? = definedExternally): Unit
open fun setAlwaysOnTop(flag: Boolean): Unit
open fun setAppDetails(options: AppDetailsOptions): Unit
open fun setAspectRatio(aspectRatio: Number, : Size): Unit
open fun setAutoHideCursor(autoHide: Boolean): Unit
open fun setAutoHideMenuBar(: Boolean): Unit
open fun setBounds(bounds: Rectangle, animate: Boolean? = definedExternally): Unit
open fun setBrowserView(browserView: BrowserView): Unit
open fun setClosable(closable: Boolean): Unit
open fun setContentBounds(bounds: Rectangle, animate: Boolean? = definedExternally): Unit
open fun setContentProtection(enable: Boolean): Unit
open fun setContentSize(width: Number, height: Number, animate: Boolean? = definedExternally): Unit
open fun setDocumentEdited(edited: Boolean): Unit
open fun setEnabled(enable: Boolean): Unit
open fun setFocusable(focusable: Boolean): Unit
open fun setFullScreen(flag: Boolean): Unit
open fun setFullScreenable(fullscreenable: Boolean): Unit
open fun setHasShadow(hasShadow: Boolean): Unit
open fun setIcon(icon: NativeImage): Unit
open fun setIgnoreMouseEvents(ignore: Boolean, options: IgnoreMouseEventsOptions? = definedExternally): Unit
open fun setKiosk(flag: Boolean): Unit
open fun setMaximizable(maximizable: Boolean): Unit
open fun setMaximumSize(width: Number, height: Number): Unit
open fun setMenu(: Menu?): Unit
open fun setMenuBarVisibility(: Boolean): Unit
open fun setMinimizable(minimizable: Boolean): Unit
open fun setMinimumSize(width: Number, height: Number): Unit
open fun setMovable(movable: Boolean): Unit
open fun setOpacity(opacity: Number): Unit
open fun setOverlayIcon(overlay: NativeImage, description: String): Unit
open fun setParentWindow(parent: BrowserWindow): Unit
open fun setPosition(x: Number, y: Number, animate: Boolean? = definedExternally): Unit
open fun setProgressBar(progress: Number, options: ProgressBarOptions? = definedExternally): Unit
open fun setRepresentedFilename(filename: String): Unit
open fun setResizable(resizable: Boolean): Unit
open fun setSheetOffset(offsetY: Number, offsetX: Number? = definedExternally): Unit
open fun setSimpleFullScreen(flag: Boolean): Unit
open fun setSize(width: Number, height: Number, animate: Boolean? = definedExternally): Unit
open fun setSkipTaskbar(skip: Boolean): Unit
open fun setThumbarButtons(buttons: Array<ThumbarButton>): Boolean
open fun setThumbnailClip(region: Rectangle): Unit
open fun setThumbnailToolTip(toolTip: String): Unit
open fun setTitle(title: String): Unit
open fun setTouchBar(touchBar: TouchBar): Unit
open fun setVibrancy(type: String): Unit
open fun setVibrancy(type: String): Unit
open fun setVibrancy(type: String): Unit
open fun setVibrancy(type: String): Unit
open fun setVibrancy(type: String): Unit
open fun setVibrancy(type: String): Unit
open fun setVibrancy(type: String): Unit
open fun setVibrancy(type: String): Unit
open fun setVibrancy(type: String): Unit
open fun setVibrancy(type: String): Unit
open fun setVisibleOnAllWorkspaces(visible: Boolean): Unit
open fun show(): Unit
open fun showDefinitionForSelection(): Unit
open fun showInactive(): Unit
open fun toggleTabBar(): Unit
open fun unhookAllWindowMessages(): Unit
open fun unhookWindowMessage(message: Number): Unit
open fun unmaximize(): Unit
open var webContents: WebContents
external interface BrowserWindowConstructorOptions
open external class BrowserWindowProxy : EventEmitter
external interface Certificate
external interface CertificatePrincipal
external interface CertificateTrustDialogOptions
external interface CertificateVerifyProcRequest
external interface ClearStorageDataOptions
open external class ClientRequest : EventEmitter
Module Contents
ClientRequest(options: String)
ClientRequest(options: String)
ClientRequest(options: String)
ClientRequest(options: String)
ClientRequest(options: String)
ClientRequest(options: String)
ClientRequest(options: String)
ClientRequest(options: String)
ClientRequest(options: String)
ClientRequest(options: String)
open fun abort(): Unit
open fun addListener(event: String, listener: Function<*>): ClientRequest
open fun addListener(event: String, listener: Function<*>): ClientRequest
open fun addListener(event: String, listener: (Error) -> Unit): ClientRequest
open fun addListener(event: String, listener: Function<*>): ClientRequest
open fun addListener(event: String, listener: (authInfo: AuthInfo, callback: (username: String, password: String) -> Unit) -> Unit): ClientRequest
open fun addListener(event: String, listener: (statusCode: Number, method: String, redirectUrl: String, responseHeaders: Any) -> Unit): ClientRequest
open fun addListener(event: String, listener: (response: IncomingMessage) -> Unit): ClientRequest
open var chunkedEncoding: Boolean
open fun end(chunk: String? = definedExternally, encoding: String? = definedExternally, callback: Function<*>? = definedExternally): Unit
open fun end(chunk: <ERROR CLASS>? = definedExternally, encoding: String? = definedExternally, callback: Function<*>? = definedExternally): Unit
open fun end(): Unit
open fun followRedirect(): Unit
open fun getHeader(: String): Header
open fun on(event: String, listener: Function<*>): ClientRequest
open fun on(event: String, listener: Function<*>): ClientRequest
open fun on(event: String, listener: (Error) -> Unit): ClientRequest
open fun on(event: String, listener: Function<*>): ClientRequest
open fun on(event: String, listener: (authInfo: AuthInfo, callback: (username: String, password: String) -> Unit) -> Unit): ClientRequest
open fun on(event: String, listener: (statusCode: Number, method: String, redirectUrl: String, responseHeaders: Any) -> Unit): ClientRequest
open fun on(event: String, listener: (response: IncomingMessage) -> Unit): ClientRequest
open fun once(event: String, listener: Function<*>): ClientRequest
open fun once(event: String, listener: Function<*>): ClientRequest
open fun once(event: String, listener: (Error) -> Unit): ClientRequest
open fun once(event: String, listener: Function<*>): ClientRequest
open fun once(event: String, listener: (authInfo: AuthInfo, callback: (username: String, password: String) -> Unit) -> Unit): ClientRequest
open fun once(event: String, listener: (statusCode: Number, method: String, redirectUrl: String, responseHeaders: Any) -> Unit): ClientRequest
open fun once(event: String, listener: (response: IncomingMessage) -> Unit): ClientRequest
open fun removeHeader(: String): Unit
open fun removeListener(event: String, listener: Function<*>): ClientRequest
open fun removeListener(event: String, listener: Function<*>): ClientRequest
open fun removeListener(event: String, listener: (Error) -> Unit): ClientRequest
open fun removeListener(event: String, listener: Function<*>): ClientRequest
open fun removeListener(event: String, listener: (authInfo: AuthInfo, callback: (username: String, password: String) -> Unit) -> Unit): ClientRequest
open fun removeListener(event: String, listener: (statusCode: Number, method: String, redirectUrl: String, responseHeaders: Any) -> Unit): ClientRequest
open fun removeListener(event: String, listener: (response: IncomingMessage) -> Unit): ClientRequest
open fun setHeader(: String, : Any): Unit
open fun write(chunk: String, encoding: String? = definedExternally, callback: Function<*>? = definedExternally): Unit
open fun write(chunk: <ERROR CLASS>, encoding: String? = definedExternally, callback: Function<*>? = definedExternally): Unit
external var clipboard: Clipboard
external interface Clipboard : EventEmitter
Module Contents
abstract fun availableFormats(type: String? = definedExternally): Array<String>
abstract fun clear(type: String? = definedExternally): Unit
abstract fun has(format: String, type: String? = definedExternally): Boolean
abstract fun read(format: String): String
abstract fun readBookmark(): ReadBookmark
abstract fun readBuffer(format: String): <ERROR CLASS>
abstract fun readFindText(): String
abstract fun readHTML(type: String? = definedExternally): String
abstract fun readImage(type: String? = definedExternally): NativeImage
abstract fun readRTF(type: String? = definedExternally): String
abstract fun readText(type: String? = definedExternally): String
abstract fun write(data: Data, type: String? = definedExternally): Unit
abstract fun writeBookmark(title: String, url: String, type: String? = definedExternally): Unit
abstract fun writeBuffer(format: String, buffer: <ERROR CLASS>, type: String? = definedExternally): Unit
abstract fun writeFindText(text: String): Unit
abstract fun writeHTML(markup: String, type: String? = definedExternally): Unit
abstract fun writeImage(image: NativeImage, type: String? = definedExternally): Unit
abstract fun writeRTF(text: String, type: String? = definedExternally): Unit
abstract fun writeText(text: String, type: String? = definedExternally): Unit
external interface CommandLine
external interface CommonInterface
external interface Config
external interface ConsoleMessageEvent : Event
external var contentTracing: ContentTracing
external interface ContentTracing : EventEmitter
external interface ContextMenuParams
external interface Cookie
open external class Cookies : EventEmitter
Module Contents
Cookies()
open fun addListener(event: String, listener: (event: Event, cookie: Cookie, dynamic, removed: Boolean) -> Unit): Cookies
open fun flushStore(callback: Function<*>): Unit
open fun get(filter: Filter, callback: (Error, cookies: Array<Cookie>) -> Unit): Unit
open fun on(event: String, listener: (event: Event, cookie: Cookie, dynamic, removed: Boolean) -> Unit): Cookies
open fun once(event: String, listener: (event: Event, cookie: Cookie, dynamic, removed: Boolean) -> Unit): Cookies
open fun remove(url: String, name: String, callback: Function<*>): Unit
open fun removeListener(event: String, listener: (event: Event, cookie: Cookie, dynamic, removed: Boolean) -> Unit): Cookies
open fun set(details: Details, callback: (Error) -> Unit): Unit
external interface CPUUsage
external interface CrashReport
external var crashReporter: CrashReporter
external interface CrashReporter : EventEmitter
external interface CrashReporterStartOptions
external interface CreateFromBufferOptions
external interface CreateInterruptedDownloadOptions
external interface Data
open external class Debugger : EventEmitter
Module Contents
Debugger()
open fun addListener(event: String, listener: (event: Event, reason: String) -> Unit): Debugger
open fun addListener(event: String, listener: (event: Event, method: String, params: Any) -> Unit): Debugger
open fun attach(protocolVersion: String? = definedExternally): Unit
open fun detach(): Unit
open fun isAttached(): Boolean
open fun on(event: String, listener: (event: Event, reason: String) -> Unit): Debugger
open fun on(event: String, listener: (event: Event, method: String, params: Any) -> Unit): Debugger
open fun once(event: String, listener: (event: Event, reason: String) -> Unit): Debugger
open fun once(event: String, listener: (event: Event, method: String, params: Any) -> Unit): Debugger
open fun removeListener(event: String, listener: (event: Event, reason: String) -> Unit): Debugger
open fun removeListener(event: String, listener: (event: Event, method: String, params: Any) -> Unit): Debugger
open fun sendCommand(method: String, commandParams: Any? = definedExternally, callback: ((error: Any, result: Any) -> Unit)? = definedExternally): Unit
external interface DefaultFontFamily
external var desktopCapturer: DesktopCapturer
external interface DesktopCapturer : EventEmitter
external interface DesktopCapturerSource
external interface Details
external interface DevToolsExtensions
external var dialog: Dialog
external interface Dialog : EventEmitter
Module Contents
abstract fun showCertificateTrustDialog(browserWindow: BrowserWindow, options: CertificateTrustDialogOptions, callback: Function<*>): Unit
abstract fun showCertificateTrustDialog(options: CertificateTrustDialogOptions, callback: Function<*>): Unit
abstract fun showCertificateTrustDialog(browserWindow: BrowserWindow, options: CertificateTrustDialogOptions, callback: Function<*>): Unit
abstract fun showErrorBox(title: String, content: String): Unit
abstract fun showMessageBox(browserWindow: BrowserWindow, options: MessageBoxOptions, callback: ((response: Number, checkboxChecked: Boolean) -> Unit)? = definedExternally): Number
abstract fun showMessageBox(options: MessageBoxOptions, callback: ((response: Number, checkboxChecked: Boolean) -> Unit)? = definedExternally): Number
abstract fun showOpenDialog(browserWindow: BrowserWindow, options: OpenDialogOptions, callback: ((filePaths: Array<String>, bookmarks: Array<String>) -> Unit)? = definedExternally): Array<String>
abstract fun showOpenDialog(options: OpenDialogOptions, callback: ((filePaths: Array<String>, bookmarks: Array<String>) -> Unit)? = definedExternally): Array<String>
abstract fun showSaveDialog(browserWindow: BrowserWindow, options: SaveDialogOptions, callback: ((filename: String, bookmark: String) -> Unit)? = definedExternally): String
abstract fun showSaveDialog(options: SaveDialogOptions, callback: ((filename: String, bookmark: String) -> Unit)? = definedExternally): String
external interface DidChangeThemeColorEvent : Event
external interface DidFailLoadEvent : Event
external interface DidFrameFinishLoadEvent : Event
external interface DidGetRedirectRequestEvent : Event
external interface DidGetResponseDetailsEvent : Event
external interface DidNavigateEvent : Event
external interface DidNavigateInPageEvent : Event
external interface Display
external interface DisplayBalloonOptions
external interface Dock
open external class DownloadItem : EventEmitter
Module Contents
DownloadItem()
open fun addListener(event: String, listener: (event: Event, dynamic) -> Unit): DownloadItem
open fun addListener(event: String, listener: (event: Event, dynamic) -> Unit): DownloadItem
open fun cancel(): Unit
open fun canResume(): Boolean
open fun getContentDisposition(): String
open fun getETag(): String
open fun getFilename(): String
open fun getLastModifiedTime(): String
open fun getMimeType(): String
open fun getReceivedBytes(): Number
open fun getSavePath(): String
open fun getStartTime(): Number
open fun getState(): dynamic
open fun getTotalBytes(): Number
open fun getURL(): String
open fun getURLChain(): Array<String>
open fun hasUserGesture(): Boolean
open fun isPaused(): Boolean
open fun on(event: String, listener: (event: Event, dynamic) -> Unit): DownloadItem
open fun on(event: String, listener: (event: Event, dynamic) -> Unit): DownloadItem
open fun once(event: String, listener: (event: Event, dynamic) -> Unit): DownloadItem
open fun once(event: String, listener: (event: Event, dynamic) -> Unit): DownloadItem
open fun pause(): Unit
open fun removeListener(event: String, listener: (event: Event, dynamic) -> Unit): DownloadItem
open fun removeListener(event: String, listener: (event: Event, dynamic) -> Unit): DownloadItem
open fun resume(): Unit
open fun setSavePath(path: String): Unit
external interface EditFlags
external interface EnableNetworkEmulationOptions
external interface Event
open external class EventEmitter
external interface EventListenerObject
external interface Extensions
external interface Extra
external interface FeedURLOptions
external interface FileFilter
external interface FileIconOptions
external interface Filter
external interface FindInPageOptions
external interface FoundInPageEvent : Event
external interface FoundInPageResult
external interface FromPartitionOptions
external var globalShortcut: GlobalShortcut
external interface GlobalShortcut : EventEmitter
external interface GPUFeatureStatus
external interface Header
external interface Headers
external interface IgnoreMouseEventsOptions
external interface ImportCertificateOptions
external var inAppPurchase: InAppPurchase
external interface InAppPurchase : EventEmitter
Module Contents
abstract fun addListener(event: String, listener: (event: Event, transactions: Array<Transaction>) -> Unit): InAppPurchase
abstract fun canMakePayments(): Boolean
abstract fun getReceiptURL(): String
abstract fun on(event: String, listener: (event: Event, transactions: Array<Transaction>) -> Unit): InAppPurchase
abstract fun once(event: String, listener: (event: Event, transactions: Array<Transaction>) -> Unit): InAppPurchase
abstract fun purchaseProduct(productID: String, quantity: Number? = definedExternally, callback: ((isProductValid: Boolean) -> Unit)? = definedExternally): Unit
abstract fun removeListener(event: String, listener: (event: Event, transactions: Array<Transaction>) -> Unit): InAppPurchase
open external class IncomingMessage : EventEmitter
Module Contents
IncomingMessage()
open fun addListener(event: String, listener: Function<*>): IncomingMessage
open fun addListener(event: String, listener: (<ERROR CLASS>) -> Unit): IncomingMessage
open fun addListener(event: String, listener: Function<*>): IncomingMessage
open fun addListener(event: String, listener: Function<*>): IncomingMessage
open var headers: Any
open var httpVersion: String
open var httpVersionMajor: Number
open var httpVersionMinor: Number
open fun on(event: String, listener: Function<*>): IncomingMessage
open fun on(event: String, listener: (<ERROR CLASS>) -> Unit): IncomingMessage
open fun on(event: String, listener: Function<*>): IncomingMessage
open fun on(event: String, listener: Function<*>): IncomingMessage
open fun once(event: String, listener: Function<*>): IncomingMessage
open fun once(event: String, listener: (<ERROR CLASS>) -> Unit): IncomingMessage
open fun once(event: String, listener: Function<*>): IncomingMessage
open fun once(event: String, listener: Function<*>): IncomingMessage
open fun removeListener(event: String, listener: Function<*>): IncomingMessage
open fun removeListener(event: String, listener: (<ERROR CLASS>) -> Unit): IncomingMessage
open fun removeListener(event: String, listener: Function<*>): IncomingMessage
open fun removeListener(event: String, listener: Function<*>): IncomingMessage
open var statusCode: Number
open var statusMessage: String
external interface Input
external interface InterceptBufferProtocolRequest
external interface InterceptFileProtocolRequest
external interface InterceptHttpProtocolRequest
external interface InterceptStreamProtocolRequest
external interface InterceptStringProtocolRequest
external interface IOCounters
external var ipcMain: IpcMain
external interface IpcMain : EventEmitter
external interface IpcMessageEvent : Event
external var ipcRenderer: IpcRenderer
external interface IpcRenderer : EventEmitter
external interface Item
external interface JumpListCategory
external interface JumpListItem
external interface JumpListSettings
external interface LoadCommitEvent : Event
external interface LoadURLOptions
external interface LoginItemSettings
external interface LoginItemSettingsOptions
external interface MainInterface : CommonInterface
external interface MediaFlags
external interface MemoryInfo
external interface MemoryUsageDetails
open external class Menu
open external class MenuItem
external interface MenuItemConstructorOptions
external interface MessageBoxOptions
external interface MimeTypedBuffer
external var nativeImage: Any?
open external class NativeImage
external var net: Net
external interface Net : EventEmitter
external interface NewWindowEvent : Event
open external class Notification : EventEmitter
Module Contents
Notification(options: NotificationConstructorOptions)
open fun addListener(event: String, listener: (event: Event, index: Number) -> Unit): Notification
open fun addListener(event: String, listener: (event: Event) -> Unit): Notification
open fun addListener(event: String, listener: (event: Event) -> Unit): Notification
open fun addListener(event: String, listener: (event: Event, reply: String) -> Unit): Notification
open fun addListener(event: String, listener: (event: Event) -> Unit): Notification
open fun close(): Unit
fun isSupported(): Boolean
open fun on(event: String, listener: (event: Event, index: Number) -> Unit): Notification
open fun on(event: String, listener: (event: Event) -> Unit): Notification
open fun on(event: String, listener: (event: Event) -> Unit): Notification
open fun on(event: String, listener: (event: Event, reply: String) -> Unit): Notification
open fun on(event: String, listener: (event: Event) -> Unit): Notification
open fun once(event: String, listener: (event: Event, index: Number) -> Unit): Notification
open fun once(event: String, listener: (event: Event) -> Unit): Notification
open fun once(event: String, listener: (event: Event) -> Unit): Notification
open fun once(event: String, listener: (event: Event, reply: String) -> Unit): Notification
open fun once(event: String, listener: (event: Event) -> Unit): Notification
open fun removeListener(event: String, listener: (event: Event, index: Number) -> Unit): Notification
open fun removeListener(event: String, listener: (event: Event) -> Unit): Notification
open fun removeListener(event: String, listener: (event: Event) -> Unit): Notification
open fun removeListener(event: String, listener: (event: Event, reply: String) -> Unit): Notification
open fun removeListener(event: String, listener: (event: Event) -> Unit): Notification
open fun show(): Unit
external interface NotificationAction
external interface NotificationConstructorOptions
external interface OnBeforeRedirectDetails
external interface OnBeforeRedirectFilter
external interface OnBeforeRequestDetails
external interface OnBeforeRequestFilter
external interface OnBeforeSendHeadersFilter
external interface OnCompletedDetails
external interface OnCompletedFilter
external interface OnErrorOccurredDetails
external interface OnErrorOccurredFilter
external interface OnHeadersReceivedFilter
external interface OnResponseStartedDetails
external interface OnResponseStartedFilter
external interface OnSendHeadersDetails
external interface OnSendHeadersFilter
external interface OpenDevToolsOptions
external interface OpenDialogOptions
external interface OpenExternalOptions
external interface Options
external interface PageFaviconUpdatedEvent : Event
external interface PageTitleUpdatedEvent : Event
external interface Parameters
external interface Payment
external interface PermissionRequestHandlerDetails
external interface PluginCrashedEvent : Event
external interface Point
external interface PopupOptions
external var powerMonitor: PowerMonitor
external interface PowerMonitor : EventEmitter
Module Contents
abstract fun addListener(event: String, listener: Function<*>): PowerMonitor
abstract fun addListener(event: String, listener: Function<*>): PowerMonitor
abstract fun addListener(event: String, listener: Function<*>): PowerMonitor
abstract fun addListener(event: String, listener: Function<*>): PowerMonitor
abstract fun addListener(event: String, listener: Function<*>): PowerMonitor
abstract fun on(event: String, listener: Function<*>): PowerMonitor
abstract fun on(event: String, listener: Function<*>): PowerMonitor
abstract fun on(event: String, listener: Function<*>): PowerMonitor
abstract fun on(event: String, listener: Function<*>): PowerMonitor
abstract fun on(event: String, listener: Function<*>): PowerMonitor
abstract fun once(event: String, listener: Function<*>): PowerMonitor
abstract fun once(event: String, listener: Function<*>): PowerMonitor
abstract fun once(event: String, listener: Function<*>): PowerMonitor
abstract fun once(event: String, listener: Function<*>): PowerMonitor
abstract fun once(event: String, listener: Function<*>): PowerMonitor
abstract fun removeListener(event: String, listener: Function<*>): PowerMonitor
abstract fun removeListener(event: String, listener: Function<*>): PowerMonitor
abstract fun removeListener(event: String, listener: Function<*>): PowerMonitor
abstract fun removeListener(event: String, listener: Function<*>): PowerMonitor
abstract fun removeListener(event: String, listener: Function<*>): PowerMonitor
external var powerSaveBlocker: PowerSaveBlocker
external interface PowerSaveBlocker : EventEmitter
external interface PrinterInfo
external interface PrintOptions
external interface PrintToPDFOptions
external interface ProcessMemoryInfo
external interface ProcessMetric
external interface ProgressBarOptions
external var protocol: Protocol
external interface Protocol : EventEmitter
Module Contents
abstract fun interceptBufferProtocol(scheme: String, handler: (request: InterceptBufferProtocolRequest, callback: (<ERROR CLASS>?) -> Unit) -> Unit, completion: ((Error) -> Unit)? = definedExternally): Unit
abstract fun interceptFileProtocol(scheme: String, handler: (request: InterceptFileProtocolRequest, callback: (filePath: String) -> Unit) -> Unit, completion: ((Error) -> Unit)? = definedExternally): Unit
abstract fun interceptHttpProtocol(scheme: String, handler: (request: InterceptHttpProtocolRequest, callback: (redirectRequest: RedirectRequest) -> Unit) -> Unit, completion: ((Error) -> Unit)? = definedExternally): Unit
abstract fun interceptStreamProtocol(scheme: String, handler: (request: InterceptStreamProtocolRequest, callback: (dynamic) -> Unit) -> Unit, completion: ((Error) -> Unit)? = definedExternally): Unit
abstract fun interceptStringProtocol(scheme: String, handler: (request: InterceptStringProtocolRequest, callback: (data: String?) -> Unit) -> Unit, completion: ((Error) -> Unit)? = definedExternally): Unit
abstract fun isProtocolHandled(scheme: String, callback: (Error) -> Unit): Unit
abstract fun registerBufferProtocol(scheme: String, handler: (request: RegisterBufferProtocolRequest, callback: (dynamic) -> Unit) -> Unit, completion: ((Error) -> Unit)? = definedExternally): Unit
abstract fun registerFileProtocol(scheme: String, handler: (request: RegisterFileProtocolRequest, callback: (filePath: String?) -> Unit) -> Unit, completion: ((Error) -> Unit)? = definedExternally): Unit
abstract fun registerHttpProtocol(scheme: String, handler: (request: RegisterHttpProtocolRequest, callback: (redirectRequest: RedirectRequest) -> Unit) -> Unit, completion: ((Error) -> Unit)? = definedExternally): Unit
abstract fun registerServiceWorkerSchemes(schemes: Array<String>): Unit
abstract fun registerStandardSchemes(schemes: Array<String>, options: RegisterStandardSchemesOptions? = definedExternally): Unit
abstract fun registerStreamProtocol(scheme: String, handler: (request: RegisterStreamProtocolRequest, callback: (dynamic) -> Unit) -> Unit, completion: ((Error) -> Unit)? = definedExternally): Unit
abstract fun registerStringProtocol(scheme: String, handler: (request: RegisterStringProtocolRequest, callback: (data: String?) -> Unit) -> Unit, completion: ((Error) -> Unit)? = definedExternally): Unit
abstract fun uninterceptProtocol(scheme: String, completion: ((Error) -> Unit)? = definedExternally): Unit
abstract fun unregisterProtocol(scheme: String, completion: ((Error) -> Unit)? = definedExternally): Unit
external interface Provider
external interface ReadBookmark
external interface Rectangle
external interface RedirectRequest
external interface RegisterBufferProtocolRequest
external interface RegisterFileProtocolRequest
external interface RegisterHttpProtocolRequest
external interface RegisterStandardSchemesOptions
external interface RegisterStreamProtocolRequest
external interface RegisterStringProtocolRequest
external interface RegisterURLSchemeAsPrivilegedOptions
external interface RelaunchOptions
external var remote: Remote
external interface Remote : MainInterface
external interface RemoveClientCertificate
external interface RemovePassword
external interface RendererInterface : CommonInterface
external interface Request
external interface RequestHeaders
external interface ResizeOptions
external interface ResourceUsage
external interface Response
external interface ResponseHeaders
external interface Result
external interface SaveDialogOptions
external var screen: Screen
external interface Screen : EventEmitter
Module Contents
abstract fun addListener(event: String, listener: (event: Event, newDisplay: Display) -> Unit): Screen
abstract fun addListener(event: String, listener: (event: Event, display: Display, changedMetrics: Array<String>) -> Unit): Screen
abstract fun addListener(event: String, listener: (event: Event, oldDisplay: Display) -> Unit): Screen
abstract fun getAllDisplays(): Array<Display>
abstract fun getCursorScreenPoint(): Point
abstract fun getDisplayMatching(rect: Rectangle): Display
abstract fun getDisplayNearestPoint(point: Point): Display
abstract fun getMenuBarHeight(): Number
abstract fun getPrimaryDisplay(): Display
abstract fun on(event: String, listener: (event: Event, newDisplay: Display) -> Unit): Screen
abstract fun on(event: String, listener: (event: Event, display: Display, changedMetrics: Array<String>) -> Unit): Screen
abstract fun on(event: String, listener: (event: Event, oldDisplay: Display) -> Unit): Screen
abstract fun once(event: String, listener: (event: Event, newDisplay: Display) -> Unit): Screen
abstract fun once(event: String, listener: (event: Event, display: Display, changedMetrics: Array<String>) -> Unit): Screen
abstract fun once(event: String, listener: (event: Event, oldDisplay: Display) -> Unit): Screen
abstract fun removeListener(event: String, listener: (event: Event, newDisplay: Display) -> Unit): Screen
abstract fun removeListener(event: String, listener: (event: Event, display: Display, changedMetrics: Array<String>) -> Unit): Screen
abstract fun removeListener(event: String, listener: (event: Event, oldDisplay: Display) -> Unit): Screen
external interface ScrubberItem
external interface SegmentedControlSegment
external interface SelectionArea
external var session: Any?
open external class Session : EventEmitter
Module Contents
Session()
open fun addListener(event: String, listener: (event: Event, item: DownloadItem, webContents: WebContents) -> Unit): Session
open fun allowNTLMCredentialsForDomains(domains: String): Unit
open fun clearAuthCache(options: RemovePassword, callback: Function<*>? = definedExternally): Unit
open fun clearAuthCache(options: RemoveClientCertificate, callback: Function<*>? = definedExternally): Unit
open fun clearCache(callback: Function<*>): Unit
open fun clearHostResolverCache(callback: Function<*>? = definedExternally): Unit
open fun clearStorageData(options: ClearStorageDataOptions? = definedExternally, callback: Function<*>? = definedExternally): Unit
open var cookies: Cookies
open fun createInterruptedDownload(options: CreateInterruptedDownloadOptions): Unit
var defaultSession: Session
open fun disableNetworkEmulation(): Unit
open fun enableNetworkEmulation(options: EnableNetworkEmulationOptions): Unit
open fun flushStorageData(): Unit
fun fromPartition(partition: String, options: FromPartitionOptions? = definedExternally): Session
open fun getBlobData(identifier: String, callback: (<ERROR CLASS>) -> Unit): Unit
open fun getCacheSize(callback: (size: Number) -> Unit): Unit
open fun getPreloads(): Array<String>
open fun getUserAgent(): String
open fun on(event: String, listener: (event: Event, item: DownloadItem, webContents: WebContents) -> Unit): Session
open fun once(event: String, listener: (event: Event, item: DownloadItem, webContents: WebContents) -> Unit): Session
open var protocol: Protocol
open fun removeListener(event: String, listener: (event: Event, item: DownloadItem, webContents: WebContents) -> Unit): Session
open fun resolveProxy(url: String, callback: (proxy: String) -> Unit): Unit
open fun setCertificateVerifyProc(proc: (request: CertificateVerifyProcRequest, callback: (verificationResult: Number) -> Unit) -> Unit): Unit
open fun setDownloadPath(path: String): Unit
open fun setPermissionRequestHandler(handler: (webContents: WebContents, permission: String, callback: (permissionGranted: Boolean) -> Unit, details: PermissionRequestHandlerDetails) -> Unit?): Unit
open fun setPreloads(preloads: Array<String>): Unit
open fun setProxy(config: Config, callback: Function<*>): Unit
open fun setUserAgent(userAgent: String, acceptLanguages: String? = definedExternally): Unit
open var webRequest: WebRequest
external interface Settings
external var shell: Shell
external interface Shell
external interface ShortcutDetails
external interface Size
external interface SizeOptions
external interface SourcesOptions
external interface StartMonitoringOptions
external interface StartRecordingOptions
external interface StreamProtocolResponse
external interface SystemMemoryInfo
external var systemPreferences: SystemPreferences
external interface SystemPreferences : EventEmitter
Module Contents
abstract fun addListener(event: String, listener: (event: Event, newColor: String) -> Unit): SystemPreferences
abstract fun addListener(event: String, listener: (event: Event) -> Unit): SystemPreferences
abstract fun addListener(event: String, listener: (event: Event, invertedColorScheme: Boolean) -> Unit): SystemPreferences
abstract fun getAccentColor(): String
abstract fun getColor(color: dynamic): String
abstract fun getUserDefault(key: String, type: String): Any
abstract fun getUserDefault(key: String, type: String): Any
abstract fun getUserDefault(key: String, type: String): Any
abstract fun getUserDefault(key: String, type: String): Any
abstract fun getUserDefault(key: String, type: String): Any
abstract fun getUserDefault(key: String, type: String): Any
abstract fun getUserDefault(key: String, type: String): Any
abstract fun getUserDefault(key: String, type: String): Any
abstract fun isAeroGlassEnabled(): Boolean
abstract fun isDarkMode(): Boolean
abstract fun isInvertedColorScheme(): Boolean
abstract fun isSwipeTrackingFromScrollEventsEnabled(): Boolean
abstract fun on(event: String, listener: (event: Event, newColor: String) -> Unit): SystemPreferences
abstract fun on(event: String, listener: (event: Event) -> Unit): SystemPreferences
abstract fun on(event: String, listener: (event: Event, invertedColorScheme: Boolean) -> Unit): SystemPreferences
abstract fun once(event: String, listener: (event: Event, newColor: String) -> Unit): SystemPreferences
abstract fun once(event: String, listener: (event: Event) -> Unit): SystemPreferences
abstract fun once(event: String, listener: (event: Event, invertedColorScheme: Boolean) -> Unit): SystemPreferences
abstract fun postLocalNotification(event: String, userInfo: Any): Unit
abstract fun postNotification(event: String, userInfo: Any): Unit
abstract fun registerDefaults(defaults: Any): Unit
abstract fun removeListener(event: String, listener: (event: Event, newColor: String) -> Unit): SystemPreferences
abstract fun removeListener(event: String, listener: (event: Event) -> Unit): SystemPreferences
abstract fun removeListener(event: String, listener: (event: Event, invertedColorScheme: Boolean) -> Unit): SystemPreferences
abstract fun removeUserDefault(key: String): Unit
abstract fun setUserDefault(key: String, type: String, value: String): Unit
abstract fun subscribeLocalNotification(event: String, callback: (event: String, userInfo: Any) -> Unit): Unit
abstract fun subscribeNotification(event: String, callback: (event: String, userInfo: Any) -> Unit): Unit
abstract fun unsubscribeLocalNotification(id: Number): Unit
abstract fun unsubscribeNotification(id: Number): Unit
external interface Task
external interface ThumbarButton
external interface ToBitmapOptions
external interface ToDataURLOptions
external interface ToPNGOptions
open external class TouchBar : EventEmitter
open external class TouchBarButton : EventEmitter
external interface TouchBarButtonConstructorOptions
open external class TouchBarColorPicker : EventEmitter
external interface TouchBarColorPickerConstructorOptions
external interface TouchBarConstructorOptions
open external class TouchBarGroup : EventEmitter
external interface TouchBarGroupConstructorOptions
open external class TouchBarLabel : EventEmitter
external interface TouchBarLabelConstructorOptions
open external class TouchBarPopover : EventEmitter
external interface TouchBarPopoverConstructorOptions
open external class TouchBarScrubber : EventEmitter
external interface TouchBarScrubberConstructorOptions
open external class TouchBarSegmentedControl : EventEmitter
external interface TouchBarSegmentedControlConstructorOptions
open external class TouchBarSlider : EventEmitter
external interface TouchBarSliderConstructorOptions
open external class TouchBarSpacer : EventEmitter
external interface TouchBarSpacerConstructorOptions
external interface Transaction
open external class Tray : EventEmitter
Module Contents
Tray(image: String)
Tray(image: NativeImage)
open fun addListener(event: String, listener: Function<*>): Tray
open fun addListener(event: String, listener: Function<*>): Tray
open fun addListener(event: String, listener: Function<*>): Tray
open fun addListener(event: String, listener: (event: Event, bounds: Rectangle, position: Point) -> Unit): Tray
open fun addListener(event: String, listener: (event: Event, bounds: Rectangle) -> Unit): Tray
open fun addListener(event: String, listener: Function<*>): Tray
open fun addListener(event: String, listener: Function<*>): Tray
open fun addListener(event: String, listener: Function<*>): Tray
open fun addListener(event: String, listener: Function<*>): Tray
open fun addListener(event: String, listener: (event: Event, files: Array<String>) -> Unit): Tray
open fun addListener(event: String, listener: (event: Event, text: String) -> Unit): Tray
open fun addListener(event: String, listener: (event: Event, position: Point) -> Unit): Tray
open fun addListener(event: String, listener: (event: Event, position: Point) -> Unit): Tray
open fun addListener(event: String, listener: (event: Event, position: Point) -> Unit): Tray
open fun addListener(event: String, listener: (event: Event, bounds: Rectangle) -> Unit): Tray
open fun destroy(): Unit
open fun displayBalloon(options: DisplayBalloonOptions): Unit
open fun getBounds(): Rectangle
open fun isDestroyed(): Boolean
open fun on(event: String, listener: Function<*>): Tray
open fun on(event: String, listener: Function<*>): Tray
open fun on(event: String, listener: Function<*>): Tray
open fun on(event: String, listener: (event: Event, bounds: Rectangle, position: Point) -> Unit): Tray
open fun on(event: String, listener: (event: Event, bounds: Rectangle) -> Unit): Tray
open fun on(event: String, listener: Function<*>): Tray
open fun on(event: String, listener: Function<*>): Tray
open fun on(event: String, listener: Function<*>): Tray
open fun on(event: String, listener: Function<*>): Tray
open fun on(event: String, listener: (event: Event, files: Array<String>) -> Unit): Tray
open fun on(event: String, listener: (event: Event, text: String) -> Unit): Tray
open fun on(event: String, listener: (event: Event, position: Point) -> Unit): Tray
open fun on(event: String, listener: (event: Event, position: Point) -> Unit): Tray
open fun on(event: String, listener: (event: Event, position: Point) -> Unit): Tray
open fun on(event: String, listener: (event: Event, bounds: Rectangle) -> Unit): Tray
open fun once(event: String, listener: Function<*>): Tray
open fun once(event: String, listener: Function<*>): Tray
open fun once(event: String, listener: Function<*>): Tray
open fun once(event: String, listener: (event: Event, bounds: Rectangle, position: Point) -> Unit): Tray
open fun once(event: String, listener: (event: Event, bounds: Rectangle) -> Unit): Tray
open fun once(event: String, listener: Function<*>): Tray
open fun once(event: String, listener: Function<*>): Tray
open fun once(event: String, listener: Function<*>): Tray
open fun once(event: String, listener: Function<*>): Tray
open fun once(event: String, listener: (event: Event, files: Array<String>) -> Unit): Tray
open fun once(event: String, listener: (event: Event, text: String) -> Unit): Tray
open fun once(event: String, listener: (event: Event, position: Point) -> Unit): Tray
open fun once(event: String, listener: (event: Event, position: Point) -> Unit): Tray
open fun once(event: String, listener: (event: Event, position: Point) -> Unit): Tray
open fun once(event: String, listener: (event: Event, bounds: Rectangle) -> Unit): Tray
open fun popUpContextMenu(: Menu? = definedExternally, : Point? = definedExternally): Unit
open fun removeListener(event: String, listener: Function<*>): Tray
open fun removeListener(event: String, listener: Function<*>): Tray
open fun removeListener(event: String, listener: Function<*>): Tray
open fun removeListener(event: String, listener: (event: Event, bounds: Rectangle, position: Point) -> Unit): Tray
open fun removeListener(event: String, listener: (event: Event, bounds: Rectangle) -> Unit): Tray
open fun removeListener(event: String, listener: Function<*>): Tray
open fun removeListener(event: String, listener: Function<*>): Tray
open fun removeListener(event: String, listener: Function<*>): Tray
open fun removeListener(event: String, listener: Function<*>): Tray
open fun removeListener(event: String, listener: (event: Event, files: Array<String>) -> Unit): Tray
open fun removeListener(event: String, listener: (event: Event, text: String) -> Unit): Tray
open fun removeListener(event: String, listener: (event: Event, position: Point) -> Unit): Tray
open fun removeListener(event: String, listener: (event: Event, position: Point) -> Unit): Tray
open fun removeListener(event: String, listener: (event: Event, position: Point) -> Unit): Tray
open fun removeListener(event: String, listener: (event: Event, bounds: Rectangle) -> Unit): Tray
open fun setContextMenu(: Menu): Unit
open fun setHighlightMode(mode: String): Unit
open fun setHighlightMode(mode: String): Unit
open fun setHighlightMode(mode: String): Unit
open fun setImage(image: String): Unit
open fun setImage(image: NativeImage): Unit
open fun setPressedImage(image: NativeImage): Unit
open fun setTitle(title: String): Unit
open fun setToolTip(toolTip: String): Unit
external interface UpdateTargetUrlEvent : Event
external interface UploadBlob
external interface UploadData
external interface UploadFile
external interface UploadFileSystem
external interface UploadRawData
external interface Versions
external var webContents: Any?
open external class WebContents : EventEmitter
Module Contents
WebContents()
open fun addListener(event: String, listener: (event: Event, input: Input) -> Unit): WebContents
open fun addListener(event: String, listener: (event: Event, url: String, error: String, certificate: Certificate, callback: (isTrusted: Boolean) -> Unit) -> Unit): WebContents
open fun addListener(event: String, listener: (level: Number, message: String, line: Number, sourceId: String) -> Unit): WebContents
open fun addListener(: String, : (event: Event, params: ContextMenuParams) -> Unit): WebContents
open fun addListener(event: String, listener: (event: Event, killed: Boolean) -> Unit): WebContents
open fun addListener(event: String, listener: (event: Event, type: String, image: NativeImage?, scale: Number?, size: Size?, hotspot: Point?) -> Unit): WebContents
open fun addListener(event: String, listener: Function<*>): WebContents
open fun addListener(event: String, listener: Function<*>): WebContents
open fun addListener(event: String, listener: Function<*>): WebContents
open fun addListener(event: String, listener: Function<*>): WebContents
open fun addListener(event: String, listener: Function<*>): WebContents
open fun addListener(event: String, listener: (event: Event, webContents: WebContents) -> Unit): WebContents
open fun addListener(event: String, listener: (event: Event, color: String?) -> Unit): WebContents
open fun addListener(event: String, listener: (event: Event, errorCode: Number, errorDescription: String, validatedURL: String, isMainFrame: Boolean) -> Unit): WebContents
open fun addListener(event: String, listener: Function<*>): WebContents
open fun addListener(event: String, listener: (event: Event, isMainFrame: Boolean) -> Unit): WebContents
open fun addListener(event: String, listener: (event: Event, oldURL: String, newURL: String, isMainFrame: Boolean, httpResponseCode: Number, requestMethod: String, referrer: String, headers: Any) -> Unit): WebContents
open fun addListener(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 addListener(event: String, listener: (event: Event, url: String) -> Unit): WebContents
open fun addListener(event: String, listener: (event: Event, url: String, isMainFrame: Boolean) -> Unit): WebContents
open fun addListener(event: String, listener: Function<*>): WebContents
open fun addListener(event: String, listener: Function<*>): WebContents
open fun addListener(event: String, listener: (event: Event) -> Unit): WebContents
open fun addListener(event: String, listener: (event: Event, result: Result) -> Unit): WebContents
open fun addListener(event: String, listener: (event: Event, request: Request, authInfo: AuthInfo, callback: (username: String, password: String) -> Unit) -> Unit): WebContents
open fun addListener(event: String, listener: Function<*>): WebContents
open fun addListener(event: String, listener: Function<*>): WebContents
open fun addListener(event: String, listener: (event: Event, url: String, frameName: String, dynamic, options: Any, additionalFeatures: Array<String>) -> Unit): WebContents
open fun addListener(event: String, listener: (event: Event, favicons: Array<String>) -> Unit): WebContents
open fun addListener(event: String, listener: (event: Event, dirtyRect: Rectangle, image: NativeImage) -> Unit): WebContents
open fun addListener(event: String, listener: (event: Event, name: String, version: String) -> Unit): WebContents
open fun addListener(event: String, listener: (event: Event, devices: Array<BluetoothDevice>, callback: (deviceId: String) -> Unit) -> Unit): WebContents
open fun addListener(event: String, listener: (event: Event, url: String, certificateList: Array<Certificate>, callback: (certificate: Certificate) -> Unit) -> Unit): WebContents
open fun addListener(event: String, listener: (event: Event, url: String) -> Unit): WebContents
open fun addListener(event: String, listener: (event: Event, webPreferences: Any, params: Any) -> Unit): WebContents
open fun addListener(event: String, listener: (event: Event, url: String) -> Unit): WebContents
open fun addListener(event: String, listener: (event: Event) -> Unit): WebContents
open fun addWorkSpace(path: String): Unit
open fun beginFrameSubscription(callback: (<ERROR CLASS>, dirtyRect: Rectangle) -> Unit): Unit
open fun beginFrameSubscription(onlyDirty: Boolean, callback: (<ERROR CLASS>, dirtyRect: Rectangle) -> Unit): Unit
open fun canGoBack(): Boolean
open fun canGoForward(): Boolean
open fun canGoToOffset(offset: Number): Boolean
open fun capturePage(callback: (image: NativeImage) -> Unit): Unit
open fun capturePage(rect: Rectangle, callback: (image: NativeImage) -> Unit): Unit
open fun clearHistory(): Unit
open fun closeDevTools(): Unit
open fun copy(): Unit
open fun copyImageAt(x: Number, y: Number): Unit
open fun cut(): Unit
open var debugger: Debugger
open fun delete(): Unit
open var devToolsWebContents: WebContents
open fun disableDeviceEmulation(): Unit
open fun downloadURL(url: String): Unit
open fun enableDeviceEmulation(parameters: Parameters): Unit
open fun endFrameSubscription(): Unit
open fun executeJavaScript(code: String, userGesture: Boolean? = definedExternally, callback: ((result: Any) -> Unit)? = definedExternally): Promise<Any>
open fun findInPage(text: String, options: FindInPageOptions? = definedExternally): Number
open fun focus(): Unit
fun fromId(id: Number): WebContents
fun getAllWebContents(): Array<WebContents>
fun getFocusedWebContents(): WebContents
open fun getFrameRate(): Number
open fun getOSProcessId(): Number
open fun getPrinters(): Array<PrinterInfo>
open fun getTitle(): String
open fun getURL(): String
open fun getUserAgent(): String
open fun getWebRTCIPHandlingPolicy(): String
open fun getZoomFactor(callback: (zoomFactor: Number) -> Unit): Unit
open fun getZoomLevel(callback: (zoomLevel: Number) -> Unit): Unit
open fun goBack(): Unit
open fun goForward(): Unit
open fun goToIndex(index: Number): Unit
open fun goToOffset(offset: Number): Unit
open fun hasServiceWorker(callback: (hasWorker: Boolean) -> Unit): Unit
open var hostWebContents: WebContents
open var id: Number
open fun insertCSS(css: String): Unit
open fun insertText(text: String): Unit
open fun inspectElement(x: Number, y: Number): Unit
open fun inspectServiceWorker(): Unit
open fun invalidate(): Unit
open fun isAudioMuted(): Boolean
open fun isCrashed(): Boolean
open fun isDestroyed(): Boolean
open fun isDevToolsFocused(): Boolean
open fun isDevToolsOpened(): Boolean
open fun isFocused(): Boolean
open fun isLoading(): Boolean
open fun isLoadingMainFrame(): Boolean
open fun isOffscreen(): Boolean
open fun isPainting(): Boolean
open fun isWaitingForResponse(): Boolean
open fun loadFile(filePath: String): Unit
open fun loadURL(url: String, options: LoadURLOptions? = definedExternally): Unit
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(: String, : (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
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
open fun once(event: String, listener: (event: Event, input: Input) -> Unit): WebContents
open fun once(event: String, listener: (event: Event, url: String, error: String, certificate: Certificate, callback: (isTrusted: Boolean) -> Unit) -> Unit): WebContents
open fun once(event: String, listener: (level: Number, message: String, line: Number, sourceId: String) -> Unit): WebContents
open fun once(: String, : (event: Event, params: ContextMenuParams) -> Unit): WebContents
open fun once(event: String, listener: (event: Event, killed: Boolean) -> Unit): WebContents
open fun once(event: String, listener: (event: Event, type: String, image: NativeImage?, scale: Number?, size: Size?, hotspot: Point?) -> Unit): WebContents
open fun once(event: String, listener: Function<*>): WebContents
open fun once(event: String, listener: Function<*>): WebContents
open fun once(event: String, listener: Function<*>): WebContents
open fun once(event: String, listener: Function<*>): WebContents
open fun once(event: String, listener: Function<*>): WebContents
open fun once(event: String, listener: (event: Event, webContents: WebContents) -> Unit): WebContents
open fun once(event: String, listener: (event: Event, color: String?) -> Unit): WebContents
open fun once(event: String, listener: (event: Event, errorCode: Number, errorDescription: String, validatedURL: String, isMainFrame: Boolean) -> Unit): WebContents
open fun once(event: String, listener: Function<*>): WebContents
open fun once(event: String, listener: (event: Event, isMainFrame: Boolean) -> Unit): WebContents
open fun once(event: String, listener: (event: Event, oldURL: String, newURL: String, isMainFrame: Boolean, httpResponseCode: Number, requestMethod: String, referrer: String, headers: Any) -> Unit): WebContents
open fun once(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 once(event: String, listener: (event: Event, url: String) -> Unit): WebContents
open fun once(event: String, listener: (event: Event, url: String, isMainFrame: Boolean) -> Unit): WebContents
open fun once(event: String, listener: Function<*>): WebContents
open fun once(event: String, listener: Function<*>): WebContents
open fun once(event: String, listener: (event: Event) -> Unit): WebContents
open fun once(event: String, listener: (event: Event, result: Result) -> Unit): WebContents
open fun once(event: String, listener: (event: Event, request: Request, authInfo: AuthInfo, callback: (username: String, password: String) -> Unit) -> Unit): WebContents
open fun once(event: String, listener: Function<*>): WebContents
open fun once(event: String, listener: Function<*>): WebContents
open fun once(event: String, listener: (event: Event, url: String, frameName: String, dynamic, options: Any, additionalFeatures: Array<String>) -> Unit): WebContents
open fun once(event: String, listener: (event: Event, favicons: Array<String>) -> Unit): WebContents
open fun once(event: String, listener: (event: Event, dirtyRect: Rectangle, image: NativeImage) -> Unit): WebContents
open fun once(event: String, listener: (event: Event, name: String, version: String) -> Unit): WebContents
open fun once(event: String, listener: (event: Event, devices: Array<BluetoothDevice>, callback: (deviceId: String) -> Unit) -> Unit): WebContents
open fun once(event: String, listener: (event: Event, url: String, certificateList: Array<Certificate>, callback: (certificate: Certificate) -> Unit) -> Unit): WebContents
open fun once(event: String, listener: (event: Event, url: String) -> Unit): WebContents
open fun once(event: String, listener: (event: Event, webPreferences: Any, params: Any) -> Unit): WebContents
open fun once(event: String, listener: (event: Event, url: String) -> Unit): WebContents
open fun once(event: String, listener: (event: Event) -> Unit): WebContents
open fun openDevTools(options: OpenDevToolsOptions? = definedExternally): Unit
open fun paste(): Unit
open fun pasteAndMatchStyle(): Unit
open fun print(options: PrintOptions? = definedExternally, callback: ((success: Boolean) -> Unit)? = definedExternally): Unit
open fun printToPDF(options: PrintToPDFOptions, callback: (Error, <ERROR CLASS>) -> Unit): Unit
open fun redo(): Unit
open fun reload(): Unit
open fun reloadIgnoringCache(): Unit
open fun removeListener(event: String, listener: (event: Event, input: Input) -> Unit): WebContents
open fun removeListener(event: String, listener: (event: Event, url: String, error: String, certificate: Certificate, callback: (isTrusted: Boolean) -> Unit) -> Unit): WebContents
open fun removeListener(event: String, listener: (level: Number, message: String, line: Number, sourceId: String) -> Unit): WebContents
open fun removeListener(: String, : (event: Event, params: ContextMenuParams) -> Unit): WebContents
open fun removeListener(event: String, listener: (event: Event, killed: Boolean) -> Unit): WebContents
open fun removeListener(event: String, listener: (event: Event, type: String, image: NativeImage?, scale: Number?, size: Size?, hotspot: Point?) -> Unit): WebContents
open fun removeListener(event: String, listener: Function<*>): WebContents
open fun removeListener(event: String, listener: Function<*>): WebContents
open fun removeListener(event: String, listener: Function<*>): WebContents
open fun removeListener(event: String, listener: Function<*>): WebContents
open fun removeListener(event: String, listener: Function<*>): WebContents
open fun removeListener(event: String, listener: (event: Event, webContents: WebContents) -> Unit): WebContents
open fun removeListener(event: String, listener: (event: Event, color: String?) -> Unit): WebContents
open fun removeListener(event: String, listener: (event: Event, errorCode: Number, errorDescription: String, validatedURL: String, isMainFrame: Boolean) -> Unit): WebContents
open fun removeListener(event: String, listener: Function<*>): WebContents
open fun removeListener(event: String, listener: (event: Event, isMainFrame: Boolean) -> Unit): WebContents
open fun removeListener(event: String, listener: (event: Event, oldURL: String, newURL: String, isMainFrame: Boolean, httpResponseCode: Number, requestMethod: String, referrer: String, headers: Any) -> Unit): WebContents
open fun removeListener(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 removeListener(event: String, listener: (event: Event, url: String) -> Unit): WebContents
open fun removeListener(event: String, listener: (event: Event, url: String, isMainFrame: Boolean) -> Unit): WebContents
open fun removeListener(event: String, listener: Function<*>): WebContents
open fun removeListener(event: String, listener: Function<*>): WebContents
open fun removeListener(event: String, listener: (event: Event) -> Unit): WebContents
open fun removeListener(event: String, listener: (event: Event, result: Result) -> Unit): WebContents
open fun removeListener(event: String, listener: (event: Event, request: Request, authInfo: AuthInfo, callback: (username: String, password: String) -> Unit) -> Unit): WebContents
open fun removeListener(event: String, listener: Function<*>): WebContents
open fun removeListener(event: String, listener: Function<*>): WebContents
open fun removeListener(event: String, listener: (event: Event, url: String, frameName: String, dynamic, options: Any, additionalFeatures: Array<String>) -> Unit): WebContents
open fun removeListener(event: String, listener: (event: Event, favicons: Array<String>) -> Unit): WebContents
open fun removeListener(event: String, listener: (event: Event, dirtyRect: Rectangle, image: NativeImage) -> Unit): WebContents
open fun removeListener(event: String, listener: (event: Event, name: String, version: String) -> Unit): WebContents
open fun removeListener(event: String, listener: (event: Event, devices: Array<BluetoothDevice>, callback: (deviceId: String) -> Unit) -> Unit): WebContents
open fun removeListener(event: String, listener: (event: Event, url: String, certificateList: Array<Certificate>, callback: (certificate: Certificate) -> Unit) -> Unit): WebContents
open fun removeListener(event: String, listener: (event: Event, url: String) -> Unit): WebContents
open fun removeListener(event: String, listener: (event: Event, webPreferences: Any, params: Any) -> Unit): WebContents
open fun removeListener(event: String, listener: (event: Event, url: String) -> Unit): WebContents
open fun removeListener(event: String, listener: (event: Event) -> Unit): WebContents
open fun removeWorkSpace(path: String): Unit
open fun replace(text: String): Unit
open fun replaceMisspelling(text: String): Unit
open fun savePage(fullPath: String, saveType: String, callback: (Error) -> Unit): Boolean
open fun savePage(fullPath: String, saveType: String, callback: (Error) -> Unit): Boolean
open fun savePage(fullPath: String, saveType: String, callback: (Error) -> Unit): Boolean
open fun selectAll(): Unit
open fun send(channel: String, vararg args: Any): Unit
open fun sendInputEvent(event: Event): Unit
open var session: Session
open fun setAudioMuted(muted: Boolean): Unit
open fun setDevToolsWebContents(devToolsWebContents: WebContents): Unit
open fun setFrameRate(fps: Number): Unit
open fun setIgnoreMenuShortcuts(: Boolean): Unit
open fun setLayoutZoomLevelLimits(minimumLevel: Number, maximumLevel: Number): Unit
open fun setSize(options: SizeOptions): Unit
open fun setUserAgent(userAgent: String): Unit
open fun setVisualZoomLevelLimits(minimumLevel: Number, maximumLevel: Number): Unit
open fun setWebRTCIPHandlingPolicy(policy: String): Unit
open fun setWebRTCIPHandlingPolicy(policy: String): Unit
open fun setWebRTCIPHandlingPolicy(policy: String): Unit
open fun setWebRTCIPHandlingPolicy(policy: String): Unit
open fun setZoomFactor(factor: Number): Unit
open fun setZoomLevel(level: Number): Unit
open fun showDefinitionForSelection(): Unit
open fun startDrag(item: Item): Unit
open fun startPainting(): Unit
open fun stop(): Unit
open fun stopFindInPage(action: String): Unit
open fun stopFindInPage(action: String): Unit
open fun stopFindInPage(action: String): Unit
open fun stopPainting(): Unit
open fun toggleDevTools(): Unit
open fun undo(): Unit
open fun unregisterServiceWorker(callback: (success: Boolean) -> Unit): Unit
open fun unselect(): Unit
external var webFrame: WebFrame
external interface WebFrame : EventEmitter
Module Contents
abstract fun clearCache(): Unit
abstract fun executeJavaScript(code: String, userGesture: Boolean? = definedExternally, callback: ((result: Any) -> Unit)? = definedExternally): Promise<Any>
abstract fun executeJavaScriptInIsolatedWorld(worldId: Number, scripts: Array<WebSource>, userGesture: Boolean? = definedExternally, callback: ((result: Any) -> Unit)? = definedExternally): Unit
abstract fun getResourceUsage(): ResourceUsage
abstract fun getZoomFactor(): Number
abstract fun getZoomLevel(): Number
abstract fun insertText(text: String): Unit
abstract fun registerURLSchemeAsBypassingCSP(scheme: String): Unit
abstract fun registerURLSchemeAsPrivileged(scheme: String, options: RegisterURLSchemeAsPrivilegedOptions? = definedExternally): Unit
abstract fun registerURLSchemeAsSecure(scheme: String): Unit
abstract fun setIsolatedWorldContentSecurityPolicy(worldId: Number, csp: String): Unit
abstract fun setIsolatedWorldHumanReadableName(worldId: Number, name: String): Unit
abstract fun setIsolatedWorldSecurityOrigin(worldId: Number, securityOrigin: String): Unit
abstract fun setLayoutZoomLevelLimits(minimumLevel: Number, maximumLevel: Number): Unit
abstract fun setSpellCheckProvider(language: String, autoCorrectWord: Boolean, provider: Provider): Unit
abstract fun setVisualZoomLevelLimits(minimumLevel: Number, maximumLevel: Number): Unit
abstract fun setZoomFactor(factor: Number): Unit
abstract fun setZoomLevel(level: Number): Unit
external interface WebPreferences
open external class WebRequest : EventEmitter
Module Contents
WebRequest()
open fun onBeforeRedirect(listener: (details: OnBeforeRedirectDetails) -> Unit): Unit
open fun onBeforeRedirect(filter: OnBeforeRedirectFilter, listener: (details: OnBeforeRedirectDetails) -> Unit): Unit
open fun onBeforeRequest(listener: (details: OnBeforeRequestDetails, callback: (response: Response) -> Unit) -> Unit): Unit
open fun onBeforeRequest(filter: OnBeforeRequestFilter, listener: (details: OnBeforeRequestDetails, callback: (response: Response) -> Unit) -> Unit): Unit
open fun onBeforeSendHeaders(: OnBeforeSendHeadersFilter, : Function<*>): Unit
open fun onBeforeSendHeaders(: Function<*>): Unit
open fun onCompleted(filter: OnCompletedFilter, listener: (details: OnCompletedDetails) -> Unit): Unit
open fun onCompleted(listener: (details: OnCompletedDetails) -> Unit): Unit
open fun onErrorOccurred(listener: (details: OnErrorOccurredDetails) -> Unit): Unit
open fun onErrorOccurred(filter: OnErrorOccurredFilter, listener: (details: OnErrorOccurredDetails) -> Unit): Unit
open fun onHeadersReceived(: OnHeadersReceivedFilter, : Function<*>): Unit
open fun onHeadersReceived(: Function<*>): Unit
open fun onResponseStarted(listener: (details: OnResponseStartedDetails) -> Unit): Unit
open fun onResponseStarted(filter: OnResponseStartedFilter, listener: (details: OnResponseStartedDetails) -> Unit): Unit
open fun onSendHeaders(: OnSendHeadersFilter, : (details: OnSendHeadersDetails) -> Unit): Unit
open fun onSendHeaders(: (details: OnSendHeadersDetails) -> Unit): Unit
external interface WebSource
external var webviewTag: WebviewTag
external interface WebviewTag
Module Contents
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: Event) -> 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: 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: Event) -> 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: Event) -> 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: 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: Event) -> 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: Event) -> 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: PluginCrashedEvent) -> 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: Event) -> 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: DidChangeThemeColorEvent) -> Unit, useCapture: Boolean? = definedExternally): WebviewTag
abstract fun addEventListener(event: String, listener: (event: UpdateTargetUrlEvent) -> 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: Event) -> Unit, useCapture: Boolean? = definedExternally): WebviewTag
abstract fun addEventListener(event: String, listener: (event: Event) -> Unit, useCapture: Boolean? = definedExternally): WebviewTag
abstract fun <K> addEventListener(type: K, listener: (<ERROR CLASS>, 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
open var allowpopups: String?
open var autosize: String?
open var blinkfeatures: String?
abstract fun canGoBack(): Boolean
abstract fun canGoForward(): Boolean
abstract fun canGoToOffset(offset: Number): Boolean
abstract fun capturePage(callback: (image: NativeImage) -> Unit): Unit
abstract fun capturePage(rect: Rectangle, callback: (image: NativeImage) -> Unit): Unit
abstract fun clearHistory(): Unit
abstract fun closeDevTools(): Unit
abstract fun copy(): Unit
abstract fun cut(): Unit
abstract fun delete(): Unit
open var disableblinkfeatures: String?
open var disableguestresize: String?
open var disablewebsecurity: String?
abstract fun executeJavaScript(code: String, userGesture: Boolean? = definedExternally, callback: ((result: Any) -> Unit)? = definedExternally): Unit
abstract fun findInPage(text: String, options: FindInPageOptions? = definedExternally): Number
abstract fun getTitle(): String
abstract fun getURL(): String
abstract fun getUserAgent(): String
abstract fun getWebContents(): WebContents
abstract fun goBack(): Unit
abstract fun goForward(): Unit
abstract fun goToIndex(index: Number): Unit
abstract fun goToOffset(offset: Number): Unit
open var guestinstance: String?
open var httpreferrer: String?
abstract fun insertCSS(css: String): Unit
abstract fun insertText(text: String): Unit
abstract fun inspectElement(x: Number, y: Number): Unit
abstract fun inspectServiceWorker(): Unit
abstract fun isAudioMuted(): Boolean
abstract fun isCrashed(): Boolean
abstract fun isDevToolsFocused(): Boolean
abstract fun isDevToolsOpened(): Boolean
abstract fun isLoading(): Boolean
abstract fun isWaitingForResponse(): Boolean
abstract fun loadURL(url: String, options: LoadURLOptions? = definedExternally): Unit
open var nodeintegration: String?
abstract fun openDevTools(): Unit
open var partition: String?
abstract fun paste(): Unit
abstract fun pasteAndMatchStyle(): Unit
open var plugins: String?
open var preload: String?
abstract fun print(options: PrintOptions? = definedExternally): Unit
abstract fun printToPDF(options: PrintToPDFOptions, callback: (Error, <ERROR CLASS>) -> Unit): Unit
abstract fun redo(): Unit
abstract fun reload(): Unit
abstract fun reloadIgnoringCache(): Unit
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: Event) -> Unit): WebviewTag
abstract fun removeEventListener(event: String, listener: (event: Event) -> 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: Event) -> 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: Event) -> Unit): WebviewTag
abstract fun removeEventListener(event: String, listener: (event: Event) -> 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: Event) -> Unit): WebviewTag
abstract fun removeEventListener(event: String, listener: (event: IpcMessageEvent) -> Unit): WebviewTag
abstract fun removeEventListener(event: String, listener: (event: Event) -> Unit): WebviewTag
abstract fun removeEventListener(event: String, listener: (event: Event) -> Unit): WebviewTag
abstract fun removeEventListener(event: String, listener: (event: PluginCrashedEvent) -> Unit): WebviewTag
abstract fun removeEventListener(event: String, listener: (event: Event) -> Unit): WebviewTag
abstract fun removeEventListener(event: String, listener: (event: Event) -> Unit): WebviewTag
abstract fun removeEventListener(event: String, listener: (event: Event) -> Unit): WebviewTag
abstract fun removeEventListener(event: String, listener: (event: DidChangeThemeColorEvent) -> Unit): WebviewTag
abstract fun removeEventListener(event: String, listener: (event: UpdateTargetUrlEvent) -> Unit): WebviewTag
abstract fun removeEventListener(event: String, listener: (event: Event) -> Unit): WebviewTag
abstract fun removeEventListener(event: String, listener: (event: Event) -> Unit): WebviewTag
abstract fun removeEventListener(event: String, listener: (event: Event) -> Unit): WebviewTag
abstract fun <K> removeEventListener(type: K, listener: (<ERROR CLASS>, 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
abstract fun replace(text: String): Unit
abstract fun replaceMisspelling(text: String): Unit
abstract fun selectAll(): Unit
abstract fun send(channel: String, vararg args: Any): Unit
abstract fun sendInputEvent(event: Any): Unit
abstract fun setAudioMuted(muted: Boolean): Unit
abstract fun setUserAgent(userAgent: String): Unit
abstract fun setZoomFactor(factor: Number): Unit
abstract fun setZoomLevel(level: Number): Unit
abstract fun showDefinitionForSelection(): Unit
open var src: String?
abstract fun stop(): Unit
abstract fun stopFindInPage(action: String): Unit
abstract fun stopFindInPage(action: String): Unit
abstract fun stopFindInPage(action: String): Unit
abstract fun undo(): Unit
abstract fun unselect(): Unit
open var useragent: String?
open var webpreferences: String?
external interface WillNavigateEvent : Event
package pl.treksoft.kvision.electron.nodejs
package pl.treksoft.kvision.form
Module Contents
interface BoolFormControl : FormControl
interface DateFormControl : FormControl
open class FieldLabel : Tag
class Form<K : Any>
Module Contents
Form(panel: FormPanel<K>? = null, serializer: KSerializer<K>)
fun <C : StringFormControl> add(key: KProperty1<K, String?>, control: C, required: Boolean = false, requiredMessage: String? = null, validatorMessage: ((C) -> String?)? = null, validator: ((C) -> Boolean?)? = null): Form<K>
fun <C : BoolFormControl> add(key: KProperty1<K, Boolean?>, control: C, required: Boolean = false, requiredMessage: String? = null, validatorMessage: ((C) -> String?)? = null, validator: ((C) -> Boolean?)? = null): Form<K>
fun <C : NumberFormControl> add(key: KProperty1<K, Number?>, control: C, required: Boolean = false, requiredMessage: String? = null, validatorMessage: ((C) -> String?)? = null, validator: ((C) -> Boolean?)? = null): Form<K>
fun <C : DateFormControl> add(key: KProperty1<K, Date?>, control: C, required: Boolean = false, requiredMessage: String? = null, validatorMessage: ((C) -> String?)? = null, validator: ((C) -> Boolean?)? = null): Form<K>
fun <C : KFilesFormControl> add(key: KProperty1<K, List<KFile>?>, control: C, required: Boolean = false, requiredMessage: String? = null, validatorMessage: ((C) -> String?)? = null, validator: ((C) -> Boolean?)? = null): Form<K>
fun clearData(): Unit
inline fun <reified K : Any> create(panel: FormPanel<K>? = null, noinline init: (Form<K>.() -> Unit)? = null): Form<K>
val fields: MutableMap<String, FormControl>
operator fun get(key: KProperty1<K, *>): Any?
fun getControl(key: KProperty1<K, *>): FormControl?
fun getData(): K
fun getDataJson(): Json
val modelFactory: (Map<String, Any?>) -> K
fun remove(key: KProperty1<K, *>): Form<K>
fun removeAll(): Form<K>
fun setData(model: K): Unit
fun validate(): Boolean
interface FormControl : Component
enum class FormEnctype
interface FormInput : Component
enum class FormMethod
open class FormPanel<K : Any> : SimplePanel
Module Contents
FormPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, classes: Set<String> = setOf(), serializer: KSerializer<K>)
var action: String?
open fun <C : StringFormControl> add(key: KProperty1<K, String?>, control: C, required: Boolean = false, requiredMessage: String? = null, validatorMessage: ((C) -> String?)? = null, validator: ((C) -> Boolean?)? = null): FormPanel<K>
open fun <C : BoolFormControl> add(key: KProperty1<K, Boolean?>, control: C, required: Boolean = false, requiredMessage: String? = null, validatorMessage: ((C) -> String?)? = null, validator: ((C) -> Boolean?)? = null): FormPanel<K>
open fun <C : NumberFormControl> add(key: KProperty1<K, Number?>, control: C, required: Boolean = false, requiredMessage: String? = null, validatorMessage: ((C) -> String?)? = null, validator: ((C) -> Boolean?)? = null): FormPanel<K>
open fun <C : DateFormControl> add(key: KProperty1<K, Date?>, control: C, required: Boolean = false, requiredMessage: String? = null, validatorMessage: ((C) -> String?)? = null, validator: ((C) -> Boolean?)? = null): FormPanel<K>
open fun <C : KFilesFormControl> add(key: KProperty1<K, List<KFile>?>, control: C, required: Boolean = false, requiredMessage: String? = null, validatorMessage: ((C) -> String?)? = null, validator: ((C) -> Boolean?)? = null): FormPanel<K>
protected fun <C : FormControl> addInternal(key: KProperty1<K, *>, control: C, required: Boolean = false, requiredMessage: String? = null, validatorMessage: ((C) -> String?)? = null, validator: ((C) -> Boolean?)? = null): FormPanel<K>
var autocomplete: Boolean?
open fun clearData(): Unit
inline fun <reified K : Any> create(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, classes: Set<String> = setOf(), noinline init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K>
var enctype: FormEnctype?
inline fun <reified K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, classes: Set<String> = setOf(), noinline init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K>
operator fun get(key: KProperty1<K, *>): Any?
open fun getControl(key: KProperty1<K, *>): FormControl?
open fun getData(): K
open fun getDataJson(): Json
protected open fun getSnAttrs(): List<StringPair>
protected open fun getSnClass(): List<StringBoolPair>
var method: FormMethod?
var name: String?
var novalidate: Boolean?
open fun remove(key: KProperty1<K, *>): FormPanel<K>
open fun removeAll(): FormPanel<K>
protected open fun render(): VNode
open fun setData(model: K): Unit
var target: FormTarget?
open fun validate(): Boolean
var validator: ((Form<K>) -> Boolean?)?
var validatorMessage: ((Form<K>) -> String?)?
enum class FormTarget
enum class FormType
open class HelpBlock : Tag
enum class InputSize
interface KFilesFormControl : FormControl
kotlin.collections.Map
kotlin.js.Json
interface NumberFormControl : FormControl
interface StringFormControl : FormControl
package pl.treksoft.kvision.form.check
Module Contents
open class CheckBox : SimplePanel, BoolFormControl
open class CheckBoxInput : CheckInput
enum class CheckBoxStyle
abstract class CheckInput : Widget, FormInput
enum class CheckInputType
open class Radio : SimplePanel, BoolFormControl
open class RadioGroup : SimplePanel, StringFormControl
Module Contents
RadioGroup(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, label: String? = null, rich: Boolean = false)
open fun blur(): Unit
open var disabled: Boolean
val flabel: FieldLabel
open fun focus(): Unit
protected open fun getSnClass(): List<StringBoolPair>
var inline: Boolean
val input: RadioInput
var label: String?
open var name: String?
var options: List<StringPair>?
fun Container.radioGroup(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, label: String? = null, rich: Boolean = false, init: (RadioGroup.() -> Unit)? = null): RadioGroup
var rich: Boolean
open var size: InputSize?
val validationInfo: HelpBlock
open var value: String?
open class RadioGroupInput : SimplePanel, FormInput
open class RadioInput : CheckInput
enum class RadioStyle
package pl.treksoft.kvision.form.select
Module Contents
data class AjaxOptions
Module Contents
AjaxOptions(url: String? = null, preprocessData: ((dynamic) -> dynamic)? = null, beforeSend: ((JQueryXHR, dynamic) -> dynamic)? = null, data: dynamic = null, httpType: HttpType = HttpType.GET, dataType: DataType = DataType.JSON, minLength: Int = 0, cache: Boolean = true, clearOnEmpty: Boolean = true, clearOnError: Boolean = true, emptyRequest: Boolean = false, requestDelay: Int = AJAX_REQUEST_DELAY, restoreOnError: Boolean = false, preserveSelected: Boolean = false, processData: Boolean = false)
val beforeSend: ((JQueryXHR, dynamic) -> dynamic)?
val cache: Boolean
val clearOnEmpty: Boolean
val clearOnError: Boolean
val data: dynamic
val dataType: DataType
val emptyRequest: Boolean
val httpType: HttpType
val minLength: Int
val preprocessData: ((dynamic) -> dynamic)?
val preserveSelected: Boolean
val processData: Boolean
val requestDelay: Int
val restoreOnError: Boolean
val url: String?
enum class DataType
external fun decodeURIComponent(encodedURI: String): String
enum class HttpType
open class RemoteSelect<T : Any> : SimplePanel, StringFormControl
Module Contents
RemoteSelect(value: String? = null, serviceManager: KVServiceManager<T>, function: T.(String?, String?) -> List<<ERROR CLASS>>, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false)
open fun add(child: Component): SimplePanel
open fun addAll(children: List<Component>): SimplePanel
var autofocus: Boolean?
open fun blur(): Unit
var emptyOption: Boolean
val flabel: FieldLabel
open fun focus(): Unit
open fun getChildren(): List<Component>
protected open fun getSnClass(): List<StringBoolPair>
open fun hideOptions(): Unit
val input: RemoteSelectInput<T>
var label: String?
var maxOptions: Int?
var multiple: Boolean
var placeholder: String?
fun <T : Any> Container.remoteSelect(value: String? = null, serviceManager: KVServiceManager<T>, function: T.(String?, String?) -> List<<ERROR CLASS>>, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: (RemoteSelect<T>.() -> Unit)? = null): RemoteSelect<T>
open fun remove(child: Component): SimplePanel
open fun removeAll(): SimplePanel
open fun removeEventListeners(): Widget
var rich: Boolean
var selectWidth: CssSize?
var selectWidthType: SelectWidthType?
open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
open fun showOptions(): Unit
var style: ButtonStyle?
open fun toggleOptions(): Unit
val validationInfo: HelpBlock
open var value: String?
open class RemoteSelectInput<T : Any> : SelectInput
Module Contents
RemoteSelectInput(value: String? = null, serviceManager: KVServiceManager<T>, function: T.(String?, String?) -> List<<ERROR CLASS>>, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf())
fun <T : Any> Container.remoteSelectInput(value: String? = null, serviceManager: KVServiceManager<T>, function: T.(String?, String?) -> List<<ERROR CLASS>>, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (RemoteSelectInput<T>.() -> Unit)? = null): RemoteSelectInput<T>
open class Select : SimplePanel, StringFormControl
Module Contents
Select(options: List<StringPair>? = null, value: String? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false)
open fun add(child: Component): SimplePanel
open fun addAll(children: List<Component>): SimplePanel
var ajaxOptions: AjaxOptions?
var autofocus: Boolean?
open fun blur(): Unit
var emptyOption: Boolean
val flabel: FieldLabel
open fun focus(): Unit
open fun getChildren(): List<Component>
protected open fun getSnClass(): List<StringBoolPair>
open fun hideOptions(): Unit
val input: SelectInput
var label: String?
var liveSearch: Boolean
var maxOptions: Int?
var multiple: Boolean
var options: List<StringPair>?
var placeholder: String?
open fun remove(child: Component): SimplePanel
open fun removeAll(): SimplePanel
open fun removeEventListeners(): Widget
var rich: Boolean
fun Container.select(options: List<StringPair>? = null, value: String? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, label: String? = null, rich: Boolean = false, init: (Select.() -> Unit)? = null): Select
var selectWidth: CssSize?
var selectWidthType: SelectWidthType?
open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
open fun showOptions(): Unit
var style: ButtonStyle?
open fun toggleOptions(): Unit
val validationInfo: HelpBlock
open var value: String?
open class SelectInput : SimplePanel, FormInput
open class SelectOptGroup : SimplePanel
Module Contents
SelectOptGroup(label: String, options: List<StringPair>? = null, maxOptions: Int? = null, disabled: Boolean = false, classes: Set<String> = setOf())
var disabled: Boolean
protected open fun getSnAttrs(): List<StringPair>
var label: String
var maxOptions: Int?
var options: List<StringPair>?
protected open fun render(): VNode
fun Select.selectOptGroup(label: String, options: List<StringPair>? = null, maxOptions: Int? = null, disabled: Boolean = false, classes: Set<String> = setOf(), init: (SelectOptGroup.() -> Unit)? = null): SelectOptGroup
fun SelectInput.selectOptGroup(label: String, options: List<StringPair>? = null, maxOptions: Int? = null, disabled: Boolean = false, classes: Set<String> = setOf(), init: (SelectOptGroup.() -> Unit)? = null): SelectOptGroup
open class SelectOption : Widget
Module Contents
SelectOption(value: String? = null, label: String? = null, subtext: String? = null, icon: String? = null, divider: Boolean = false, disabled: Boolean = false, selected: Boolean = false, classes: Set<String> = setOf())
var disabled: Boolean
var divider: Boolean
protected open fun getSnAttrs(): List<StringPair>
var icon: String?
var label: String?
protected open fun render(): VNode
var selected: Boolean
fun Select.selectOption(value: String? = null, label: String? = null, subtext: String? = null, icon: String? = null, divider: Boolean = false, disabled: Boolean = false, selected: Boolean = false, classes: Set<String> = setOf(), init: (SelectOption.() -> Unit)? = null): SelectOption
fun SelectInput.selectOption(value: String? = null, label: String? = null, subtext: String? = null, icon: String? = null, divider: Boolean = false, disabled: Boolean = false, selected: Boolean = false, classes: Set<String> = setOf(), init: (SelectOption.() -> Unit)? = null): SelectOption
fun SelectOptGroup.selectOption(value: String? = null, label: String? = null, subtext: String? = null, icon: String? = null, divider: Boolean = false, disabled: Boolean = false, selected: Boolean = false, classes: Set<String> = setOf(), init: (SelectOption.() -> Unit)? = null): SelectOption
var subtext: String?
var value: String?
enum class SelectWidthType
fun AjaxOptions.toJs(emptyOption: Boolean): dynamic
package pl.treksoft.kvision.form.spinner
Module Contents
enum class ButtonsType
enum class ForceType
open class Spinner : SimplePanel, NumberFormControl
Module Contents
Spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, label: String? = null, rich: Boolean = false)
var autofocus: Boolean?
open fun blur(): Unit
var buttonsType: ButtonsType
var decimals: Int
val flabel: FieldLabel
open fun focus(): Unit
var forceType: ForceType
protected open fun getSnClass(): List<StringBoolPair>
open fun getValueAsString(): String?
protected val idc: String
val input: SpinnerInput
var label: String?
var max: Int?
var min: Int?
var placeholder: String?
var readonly: Boolean?
open fun removeEventListeners(): Widget
var rich: Boolean
open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget
open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget
open fun spinDown(): Spinner
fun Container.spinner(value: Number? = null, name: String? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, label: String? = null, rich: Boolean = false, init: (Spinner.() -> Unit)? = null): Spinner
open fun spinUp(): Spinner
var startValue: Number?
var step: Double
val validationInfo: HelpBlock
open var value: Number?
open class SpinnerInput : Widget, FormInput
Module Contents
SpinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, classes: Set<String> = setOf())
protected open fun afterDestroy(): Unit
protected open fun afterInsert(node: VNode): Unit
var autofocus: Boolean?
open fun blur(): Unit
var buttonsType: ButtonsType
protected open fun changeValue(): Unit
var decimals: Int
open var disabled: Boolean
open fun focus(): Unit
var forceType: ForceType
protected open fun getSnAttrs(): List<StringPair>
protected open fun getSnClass(): List<StringBoolPair>
fun getValueAsString(): String?
var max: Int?
var min: Int?
open var name: String?
var placeholder: String?
var readonly: Boolean?
protected open fun render(): VNode
open var size: InputSize?
fun spinDown(): SpinnerInput
fun Container.spinnerInput(value: Number? = null, min: Int? = null, max: Int? = null, step: Double = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput
fun spinUp(): SpinnerInput
var startValue: Number?
var step: Double
var value: Number?
package pl.treksoft.kvision.form.text
Module Contents
abstract class AbstractText : SimplePanel, StringFormControl
abstract class AbstractTextInput : Widget, FormInput
open class Password : Text
open class RichText : AbstractText
open class RichTextInput : AbstractTextInput
open class Text : AbstractText
open class TextArea : AbstractText
Module Contents
TextArea(cols: Int? = null, rows: Int? = null, value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false)
var cols: Int?
val input: TextAreaInput
var rows: Int?
fun Container.textArea(cols: Int? = null, rows: Int? = null, value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (TextArea.() -> Unit)? = null): TextArea
var wrapHard: Boolean
open class TextAreaInput : AbstractTextInput
open class TextInput : AbstractTextInput
enum class TextInputType
package pl.treksoft.kvision.form.time
package pl.treksoft.kvision.form.upload
Module Contents
open class Upload : SimplePanel, KFilesFormControl
open class UploadInput : Widget, FormInput
Module Contents
UploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf())
protected open fun afterDestroy(): Unit
protected open fun afterInsert(node: VNode): Unit
var allowedFileExtensions: Set<String>?
var allowedFileTypes: Set<String>?
open fun blur(): Unit
var browseOnZoneClick: Boolean
open fun cancel(): Unit
open fun clearInput(): Unit
open var disabled: Boolean
var dropZoneEnabled: Boolean
var explorerTheme: Boolean
open fun focus(): Unit
suspend fun <K : Any> Form<K>.getContent(key: KProperty1<K, List<KFile>?>, kFile: KFile): KFile
suspend fun <K : Any> FormPanel<K>.getContent(key: KProperty1<K, List<KFile>?>, kFile: KFile): KFile
fun getNativeFile(kFile: KFile): File?
protected open fun getSnAttrs(): List<StringPair>
protected open fun getSnClass(): List<StringBoolPair>
fun getValueAsString(): String?
open fun lock(): Unit
var multiple: Boolean
open var name: String?
var preferIconicPreview: Boolean
protected open fun render(): VNode
var required: Boolean
open fun resetInput(): Unit
var showBrowse: Boolean
var showCancel: Boolean
var showCaption: Boolean
var showPreview: Boolean
var showRemove: Boolean
var showUpload: Boolean
open var size: InputSize?
open fun unlock(): Unit
open fun upload(): Unit
var uploadExtraData: ((String, Int) -> dynamic)?
fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput
var uploadUrl: String?
var value: List<KFile>?
package pl.treksoft.kvision.hmr
package pl.treksoft.kvision.html
Module Contents
enum class Align
open class Button : Widget
Module Contents
Button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf())
var block: Boolean
fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button
var disabled: Boolean
protected open fun getSnAttrs(): List<StringPair>
protected open fun getSnClass(): List<StringBoolPair>
var icon: String?
var image: ResString?
open fun onClick(handler: Button.(MouseEvent) -> Unit): Button
protected open fun render(): VNode
var size: ButtonSize?
var style: ButtonStyle
var text: String
var type: ButtonType
enum class ButtonSize
enum class ButtonStyle
enum class ButtonType
open class Canvas : Widget
open class Div : Tag
open class Footer : Tag
open class H1 : Tag
open class H2 : Tag
open class H3 : Tag
open class H4 : Tag
open class H5 : Tag
open class H6 : Tag
open class Header : Tag
open class Icon : Tag
open class Iframe : Widget
Module Contents
Iframe(src: String? = null, srcdoc: String? = null, name: String? = null, iframeWidth: Int? = null, iframeHeight: Int? = null, sandbox: Set<Sandbox>? = null, classes: Set<String> = setOf())
open fun getIframeWindow(): Window
protected open fun getSnAttrs(): List<StringPair>
fun Container.iframe(src: String? = null, srcdoc: String? = null, name: String? = null, iframeWidth: Int? = null, iframeHeight: Int? = null, sandbox: Set<Sandbox>? = null, classes: Set<String> = setOf(), init: (Iframe.() -> Unit)? = null): Iframe
var iframeHeight: Int?
var iframeWidth: Int?
var location: String?
var name: String?
protected open fun render(): VNode
var sandbox: Set<Sandbox>?
var src: String?
var srcdoc: String?
open class Image : Widget
Module Contents
Image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf())
var alt: String?
var centered: Boolean
protected open fun getSnAttrs(): List<StringPair>
protected open fun getSnClass(): List<StringBoolPair>
fun Container.image(src: ResString, alt: String? = null, responsive: Boolean = false, shape: ImageShape? = null, centered: Boolean = false, classes: Set<String> = setOf(), init: (Image.() -> Unit)? = null): Image
protected open fun render(): VNode
var responsive: Boolean
var shape: ImageShape?
var src: ResString
enum class ImageShape
open class Label : Span
open class Link : SimplePanel
Module Contents
Link(label: String, url: String? = null, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf())
protected open fun getSnAttrs(): List<StringPair>
var icon: String?
var image: ResString?
var label: String
fun Container.link(label: String, url: String? = null, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf(), init: (Link.() -> Unit)? = null): Link
fun ListTag.linkDisabled(label: String, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf(), init: (Link.() -> Unit)? = null): Link
fun DropDown.linkDisabled(label: String, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf(), init: (Link.() -> Unit)? = null): Link
open fun onClick(handler: Link.(MouseEvent) -> Unit): Link
protected open fun render(): VNode
var url: String?
open class ListTag : SimplePanel
enum class ListType
open class P : Tag
enum class Sandbox
open class Section : Tag
fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit
inline fun <reified K : Any> Template.setData(obj: K): Unit
open class Span : Tag
enum class TAG
open class Tag : SimplePanel, Template
Module Contents
Tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Tag.() -> Unit)? = null)
var align: Align?
open var content: String?
protected open fun getSnClass(): List<StringBoolPair>
protected open fun render(): VNode
open var rich: Boolean
fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Tag.() -> Unit)? = null): Tag
open var template: ((Any?) -> String)?
open var templates: Map<String, (Any?) -> String>
var type: TAG
operator fun String.unaryPlus(): Unit
interface Template
package pl.treksoft.kvision.i18n
package pl.treksoft.kvision.modal
Module Contents
open class Alert : Modal
Module Contents
Alert(caption: String? = null, text: String? = null, rich: Boolean = false, align: Align? = null, size: ModalSize? = null, animation: Boolean = true, callback: (() -> Unit)? = null)
var align: Align?
open fun hide(): Widget
var rich: Boolean
fun show(caption: String? = null, text: String? = null, rich: Boolean = false, align: Align? = null, size: ModalSize? = null, animation: Boolean = true, callback: (() -> Unit)? = null): Unit
var text: String?
open class CloseIcon : Widget
open class Confirm : Modal
Module Contents
Confirm(caption: String? = null, text: String? = null, rich: Boolean = false, align: Align? = null, size: ModalSize? = null, animation: Boolean = true, cancelVisible: Boolean = false, yesTitle: String = "Yes", noTitle: String = "No", cancelTitle: String = "Cancel", noCallback: (() -> Unit)? = null, yesCallback: (() -> Unit)? = null)
var align: Align?
var cancelTitle: String
var cancelVisible: Boolean
var noTitle: String
var rich: Boolean
fun show(caption: String? = null, text: String? = null, rich: Boolean = false, align: Align? = null, size: ModalSize? = null, animation: Boolean = true, cancelVisible: Boolean = false, yesTitle: String = "Yes", noTitle: String = "No", cancelTitle: String = "Cancel", noCallback: (() -> Unit)? = null, yesCallback: (() -> Unit)? = null): Unit
var text: String?
var yesTitle: String
open class Dialog<R> : Modal
open class Modal : SimplePanel
enum class ModalSize
package pl.treksoft.kvision.navbar
package pl.treksoft.kvision.panel
Module Contents
enum class Direction
open class DockPanel : SimplePanel
enum class FlexAlignContent
enum class FlexAlignItems
enum class FlexDir
enum class FlexJustify
open class FlexPanel : SimplePanel
Module Contents
FlexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null)
fun add(child: Component, order: Int? = null, grow: Int? = null, shrink: Int? = null, basis: Int? = null, alignSelf: FlexAlignItems? = null, classes: Set<String> = setOf()): FlexPanel
open fun add(child: Component): FlexPanel
open fun addAll(children: List<Component>): FlexPanel
var alignContent: FlexAlignContent?
var alignItems: FlexAlignItems?
var direction: FlexDir?
fun Container.flexPanel(direction: FlexDir? = null, wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, alignContent: FlexAlignContent? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (FlexPanel.() -> Unit)? = null): FlexPanel
protected open fun getSnStyle(): List<StringPair>
var justify: FlexJustify?
open fun remove(child: Component): FlexPanel
open fun removeAll(): FlexPanel
var spacing: Int?
var wrap: FlexWrap?
enum class FlexWrap
enum class GridAlign
enum class GridAlignContent
enum class GridFlow
enum class GridJustify
enum class GridJustifyContent
open class GridPanel : SimplePanel
Module Contents
GridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null)
fun add(child: Component, columnStart: Int? = null, rowStart: Int? = null, columnEnd: String? = null, rowEnd: String? = null, area: String? = null, justifySelf: GridJustify? = null, alignSelf: GridAlign? = null, classes: Set<String> = setOf()): GridPanel
open fun add(child: Component): GridPanel
open fun addAll(children: List<Component>): GridPanel
var alignContent: GridAlignContent?
var alignItems: GridAlign?
var autoColumns: String?
var autoFlow: GridFlow?
var autoRows: String?
var columnGap: Int?
protected open fun getSnStyle(): List<StringPair>
fun Container.gridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GridFlow? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GridJustify? = null, alignItems: GridAlign? = null, justifyContent: GridJustifyContent? = null, alignContent: GridAlignContent? = null, classes: Set<String> = setOf(), init: (GridPanel.() -> Unit)? = null): GridPanel
var justifyContent: GridJustifyContent?
var justifyItems: GridJustify?
open fun remove(child: Component): GridPanel
open fun removeAll(): GridPanel
var rowGap: Int?
var templateAreas: List<String>?
var templateColumns: String?
var templateRows: String?
enum class GridSize
class GridWrapper : WidgetWrapper
open class HPanel : FlexPanel
Module Contents
HPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null)
fun Container.hPanel(wrap: FlexWrap? = null, justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (HPanel.() -> Unit)? = null): HPanel
open class ResponsiveGridPanel : SimplePanel
Module Contents
ResponsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null)
open fun add(child: Component, col: Int, row: Int, size: Int = 0, offset: Int = 0): ResponsiveGridPanel
open fun add(child: Component): ResponsiveGridPanel
open fun addAll(children: List<Component>): ResponsiveGridPanel
var align: Align?
open fun remove(child: Component): ResponsiveGridPanel
open fun removeAt(col: Int, row: Int): ResponsiveGridPanel
fun Container.responsiveGridPanel(gridSize: GridSize = GridSize.MD, rows: Int = 0, cols: Int = 0, align: Align? = null, classes: Set<String> = setOf(), init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel
class Root : SimplePanel
enum class Side
enum class SideTabSize
open class SimplePanel : Widget, Container
open class SplitPanel : SimplePanel
open class StackPanel : SimplePanel
open class TabPanel : SimplePanel
Module Contents
TabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null)
var activeIndex: Int
open fun add(child: Component): TabPanel
open fun addAll(children: List<Component>): TabPanel
open fun addTab(title: String, panel: Component, icon: String? = null, image: ResString? = null, route: String? = null): TabPanel
open fun remove(child: Component): TabPanel
open fun removeAll(): TabPanel
open fun removeTab(index: Int): TabPanel
fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel
enum class TabPosition
open class VPanel : FlexPanel
package pl.treksoft.kvision.progress
Module Contents
open class ProgressBar : SimplePanel
Module Contents
ProgressBar(progress: Int, min: Int = DEFAULT_MIN, max: Int = DEFAULT_MAX, style: ProgressBarStyle? = null, striped: Boolean = false, animated: Boolean = false, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (ProgressBar.() -> Unit)? = null)
var align: Align?
var animated: Boolean
var content: String?
var max: Int
var min: Int
var progress: Int
fun Container.progressBar(progress: Int, min: Int = DEFAULT_MIN, max: Int = DEFAULT_MAX, style: ProgressBarStyle? = null, striped: Boolean = false, animated: Boolean = false, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (ProgressBar.() -> Unit)? = null): ProgressBar
var rich: Boolean
var striped: Boolean
var style: ProgressBarStyle?
enum class ProgressBarStyle
package pl.treksoft.kvision.redux
Module Contents
typealias ActionCreator<A, S> = (Dispatch<A>, GetState<S>) -> Unit
inline fun <reified S : Any, A> createReduxStore(noinline reducer: <ERROR CLASS><S, A>, initialState: S, vararg middlewares: dynamic): ReduxStore<S, A>
typealias Dispatch<A> = (A) -> <ERROR CLASS>
typealias GetState<S> = () -> S
class ReduxStore<S : Any, A>
class StateBinding<S : Any, A, CONT : Container, CONTENT> : Widget
Module Contents
StateBinding(store: ReduxStore<S, A>, container: CONT, factory: CONT.(S) -> CONTENT)
fun <S : Any, A, CONT : Container> CONT.stateBinding(store: ReduxStore<S, A>, factory: CONT.(S) -> Unit): StateBinding<S, A, CONT, Unit>
fun <S : Any, A, CONT : Container, CONTENT> CONT.stateUpdate(store: ReduxStore<S, A>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT>
fun update(state: S): Unit
class Updateable<S : Any, CONTENT>
package pl.treksoft.kvision.remote
Module Contents
fun <ERROR CLASS>.addPathPatternsFromServices(services: List<KVServiceManager<*>>): Unit
fun <T : Any> <ERROR CLASS>.applyRoutes(serviceManager: KVServiceManager<T>): Unit
open class CallAgent
class CallModule
data class Credentials
class DummyWebSocketServerSession
class DummyWsSessionModule
fun getWebSocketUrl(url: String): String
const val HTTP_UNAUTHORIZED: Int
val <ERROR CLASS>.injector: <ERROR CLASS>
val injectorKey: <ERROR CLASS>
object JSON
open class KVController
fun <ERROR CLASS>.kvisionInit(): Unit
fun <ERROR CLASS>.kvisionInit(vararg modules: <ERROR CLASS>): Unit
open class KVRemoteAgent<T : Any> : RemoteAgent
Module Contents
KVRemoteAgent(serviceManager: KVServiceManager<T>)
suspend inline fun <reified RET : Any, T> call(noinline function: suspend T.() -> RET): RET
suspend inline fun <reified RET : Any, T> call(noinline function: suspend T.() -> List<RET>): List<RET>
suspend inline fun <reified PAR, reified RET : Any, T> call(noinline function: suspend T.(PAR) -> RET, p: PAR): RET
suspend inline fun <reified PAR, reified RET : Any, T> call(noinline function: suspend T.(PAR) -> List<RET>, p: PAR): List<RET>
suspend inline fun <reified PAR1, reified PAR2, reified RET : Any, T> call(noinline function: suspend T.(PAR1, PAR2) -> RET, p1: PAR1, p2: PAR2): RET
suspend inline fun <reified PAR1, reified PAR2, reified RET : Any, T> call(noinline function: suspend T.(PAR1, PAR2) -> List<RET>, p1: PAR1, p2: PAR2): List<RET>
suspend inline fun <reified PAR1, reified PAR2, reified PAR3, reified RET : Any, T> call(noinline function: suspend T.(PAR1, PAR2, PAR3) -> RET, p1: PAR1, p2: PAR2, p3: PAR3): RET
suspend inline fun <reified PAR1, reified PAR2, reified PAR3, reified RET : Any, T> call(noinline function: suspend T.(PAR1, PAR2, PAR3) -> List<RET>, p1: PAR1, p2: PAR2, p3: PAR3): List<RET>
suspend inline fun <reified PAR1, reified PAR2, reified PAR3, reified PAR4, reified RET : Any, T> call(noinline function: suspend T.(PAR1, PAR2, PAR3, PAR4) -> RET, p1: PAR1, p2: PAR2, p3: PAR3, p4: PAR4): RET
suspend inline fun <reified PAR1, reified PAR2, reified PAR3, reified PAR4, reified RET : Any, T> call(noinline function: suspend T.(PAR1, PAR2, PAR3, PAR4) -> List<RET>, p1: PAR1, p2: PAR2, p3: PAR3, p4: PAR4): List<RET>
suspend inline fun <reified PAR1, reified PAR2, reified PAR3, reified PAR4, reified PAR5, reified RET : Any, T> call(noinline function: suspend T.(PAR1, PAR2, PAR3, PAR4, PAR5) -> RET, p1: PAR1, p2: PAR2, p3: PAR3, p4: PAR4, p5: PAR5): RET
suspend inline fun <reified PAR1, reified PAR2, reified PAR3, reified PAR4, reified PAR5, reified RET : Any, T> call(noinline function: suspend T.(PAR1, PAR2, PAR3, PAR4, PAR5) -> List<RET>, p1: PAR1, p2: PAR2, p3: PAR3, p4: PAR4, p5: PAR5): List<RET>
val callAgent: CallAgent
val serviceManager: KVServiceManager<T>
suspend inline fun <reified PAR1 : Any, reified PAR2 : Any> webSocket(noinline function: suspend T.(<ERROR CLASS><PAR1>, <ERROR CLASS><PAR2>) -> Unit, noinline handler: suspend (<ERROR CLASS><PAR1>, <ERROR CLASS><PAR2>) -> Unit): Unit
suspend inline fun <reified PAR1 : Any, reified PAR2 : Any> webSocket(noinline function: suspend T.(<ERROR CLASS><PAR1>, <ERROR CLASS><List<PAR2>>) -> Unit, noinline handler: suspend (<ERROR CLASS><PAR1>, <ERROR CLASS><List<PAR2>>) -> Unit): Unit
open actual class KVServiceManager<T : Any>
Module Contents
KVServiceManager(serviceClass: KClass<T>)
fun addRoute(method: HttpMethod, path: String, handler: suspend <ERROR CLASS><Unit, <ERROR CLASS>>.(Unit) -> Unit): Unit
fun addRoute(method: HttpMethod, path: String, handler: (<ERROR CLASS>, <ERROR CLASS>, <ERROR CLASS>) -> Unit): Unit
protected actual inline fun <reified RET> bind(noinline function: suspend T.() -> RET, method: HttpMethod, route: String?): Unit
protected actual inline fun <reified PAR, reified RET> bind(noinline function: suspend T.(PAR) -> RET, method: HttpMethod, route: String?): Unit
protected actual inline fun <reified PAR1, reified PAR2, reified RET> bind(noinline function: suspend T.(PAR1, PAR2) -> RET, method: HttpMethod, route: String?): Unit
protected actual inline fun <reified PAR1, reified PAR2, reified PAR3, reified RET> bind(noinline function: suspend T.(PAR1, PAR2, PAR3) -> RET, method: HttpMethod, route: String?): Unit
protected actual inline fun <reified PAR1, reified PAR2, reified PAR3, reified PAR4, reified RET> bind(noinline function: suspend T.(PAR1, PAR2, PAR3, PAR4) -> RET, method: HttpMethod, route: String?): Unit
protected actual inline fun <reified PAR1, reified PAR2, reified PAR3, reified PAR4, reified PAR5, reified RET> bind(noinline function: suspend T.(PAR1, PAR2, PAR3, PAR4, PAR5) -> RET, method: HttpMethod, route: String?): Unit
protected actual fun bind(function: T.(String?, String?) -> List<<ERROR CLASS>>): Unit
protected actual inline fun <reified PAR1 : Any, reified PAR2 : Any> bind(noinline function: suspend T.(<ERROR CLASS><PAR1>, <ERROR CLASS><PAR2>) -> Unit, route: String?): Unit
fun call(method: HttpMethod, path: String, handler: (<ERROR CLASS>, <ERROR CLASS>) -> Unit): <ERROR CLASS>.() -> Unit
protected val calls: MutableMap<String, Pair<String, HttpMethod>>
var counter: Int
val deleteRequests: MutableMap<String, suspend <ERROR CLASS><Unit, <ERROR CLASS>>.(Unit) -> Unit>
fun getCalls(): Map<String, Pair<String, HttpMethod>>
protected inline fun <reified T> getParameter(str: String?): T
val getRequests: MutableMap<String, suspend <ERROR CLASS><Unit, <ERROR CLASS>>.(Unit) -> Unit>
val LOG: <ERROR CLASS>
val mapper: <ERROR CLASS>
val optionsRequests: MutableMap<String, suspend <ERROR CLASS><Unit, <ERROR CLASS>>.(Unit) -> Unit>
val postRequests: MutableMap<String, suspend <ERROR CLASS><Unit, <ERROR CLASS>>.(Unit) -> Unit>
val putRequests: MutableMap<String, suspend <ERROR CLASS><Unit, <ERROR CLASS>>.(Unit) -> Unit>
val routes: MutableList<<ERROR CLASS>.() -> Unit>
val serviceClass: KClass<T>
val webSocketRequests: MutableMap<String, suspend <ERROR CLASS>.() -> Unit>
class LoginService
class MainModule
fun obj(init: dynamic.() -> Unit): dynamic
external class Object
Profile
Module Contents
actual data class Profile
Module Contents
Profile(id: String? = null, attributes: MutableMap<String, String> = mutableMapOf(), authenticationAttributes: MutableMap<String, String> = mutableMapOf(), roles: MutableSet<String> = mutableSetOf(), permissions: MutableSet<String> = mutableSetOf(), linkedId: String? = null, remembered: Boolean = false, clientName: String? = null)
val attributes: MutableMap<String, String>
val authenticationAttributes: MutableMap<String, String>
val clientName: String?
var displayName: String?
var email: String?
var familyName: String?
var firstName: String?
val id: String?
val linkedId: String?
val permissions: MutableSet<String>
var pictureUrl: String?
var profileUrl: String?
val remembered: Boolean
val roles: MutableSet<String>
var username: String?
actual typealias Profile = <ERROR CLASS>
interface RemoteAgent
class SecurityException : Exception
abstract class SecurityMgr
class Socket
class SocketClosedException : Throwable
suspend fun <RESP> <ERROR CLASS>.withProfile(block: suspend (Profile) -> RESP): RESP
suspend fun <RESP> withProfile(block: suspend (Profile) -> RESP): RESP
fun <ERROR CLASS>.writeJSON(json: String): Unit
class WsSessionModule
package pl.treksoft.kvision.rest
Module Contents
const val HTTP_UNAUTHORIZED: Int
enum class HttpMethod
open class RestClient
Module Contents
RestClient()
inline fun <reified T : Any> call(url: String, data: dynamic = null, method: HttpMethod = HttpMethod.GET, contentType: String = "application/json", noinline beforeSend: ((JQueryXHR, JQueryAjaxSettings) -> Boolean)? = null, noinline transform: ((dynamic) -> dynamic)? = null): Promise<T>
inline fun <reified V : Any> call(url: String, data: V, method: HttpMethod = HttpMethod.GET, contentType: String = "application/json", noinline beforeSend: ((JQueryXHR, JQueryAjaxSettings) -> Boolean)? = null): Promise<dynamic>
inline fun <T : Any, reified V : Any> call(url: String, data: V, deserializer: DeserializationStrategy<T>, method: HttpMethod = HttpMethod.GET, contentType: String = "application/json", noinline beforeSend: ((JQueryXHR, JQueryAjaxSettings) -> Boolean)? = null, noinline transform: ((dynamic) -> dynamic)? = null): Promise<T>
inline fun <reified T : Any, V : Any> call(url: String, serializer: SerializationStrategy<V>, data: V, method: HttpMethod = HttpMethod.GET, contentType: String = "application/json", noinline beforeSend: ((JQueryXHR, JQueryAjaxSettings) -> Boolean)? = null, noinline transform: ((dynamic) -> dynamic)? = null): Promise<T>
inline fun <reified T : Any, reified V : Any> call(url: String, data: V, method: HttpMethod = HttpMethod.GET, contentType: String = "application/json", noinline beforeSend: ((JQueryXHR, JQueryAjaxSettings) -> Boolean)? = null, noinline transform: ((dynamic) -> dynamic)? = null): Promise<T>
fun remoteCall(url: String, data: dynamic = null, method: HttpMethod = HttpMethod.GET, contentType: String = "application/json", beforeSend: ((JQueryXHR, JQueryAjaxSettings) -> Boolean)? = null): Promise<dynamic>
fun <T : Any> remoteCall(url: String, data: dynamic = null, deserializer: DeserializationStrategy<T>, method: HttpMethod = HttpMethod.GET, contentType: String = "application/json", beforeSend: ((JQueryXHR, JQueryAjaxSettings) -> Boolean)? = null, transform: ((dynamic) -> dynamic)? = null): Promise<T>
fun <V : Any> remoteCall(url: String, serializer: SerializationStrategy<V>, data: V, method: HttpMethod = HttpMethod.GET, contentType: String = "application/json", beforeSend: ((JQueryXHR, JQueryAjaxSettings) -> Boolean)? = null): Promise<dynamic>
fun <T : Any, V : Any> remoteCall(url: String, serializer: SerializationStrategy<V>, data: V, deserializer: DeserializationStrategy<T>, method: HttpMethod = HttpMethod.GET, contentType: String = "application/json", beforeSend: ((JQueryXHR, JQueryAjaxSettings) -> Boolean)? = null, transform: ((dynamic) -> dynamic)? = null): Promise<T>
package pl.treksoft.kvision.routing
package pl.treksoft.kvision.table
Module Contents
open class Cell : Tag
open class HeaderCell : Tag
open class Row : Tag
open class Table : SimplePanel
Module Contents
Table(: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsive: Boolean = false, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null)
open fun add(child: Component): SimplePanel
open fun addAll(children: List<Component>): SimplePanel
fun addHeaderCell(: HeaderCell): Table
var caption: String?
protected open fun childrenVNodes(): Array<VNode>
open fun getChildren(): List<Component>
protected open fun getSnClass(): List<StringBoolPair>
var headerNames: List<String>?
open fun remove(child: Component): SimplePanel
open fun removeAll(): SimplePanel
fun removeHeaderCell(: HeaderCell): Table
fun removeHeaderCells(): Table
protected open fun render(): VNode
var responsive: Boolean
fun Container.table(: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsive: Boolean = false, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table
var types: Set<TableType>
enum class TableType
package pl.treksoft.kvision.toolbar
package pl.treksoft.kvision.types
package pl.treksoft.kvision.utils
package pl.treksoft.kvision.window
Module Contents
open class Window : SimplePanel
Module Contents
Window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null)
open fun add(child: Component): SimplePanel
open fun addAll(children: List<Component>): SimplePanel
protected open fun afterCreate(node: VNode): Unit
protected open fun afterDestroy(): Unit
var caption: String?
var closeButton: Boolean
var contentHeight: CssSize?
var contentOverflow: Overflow?
var contentWidth: CssSize?
open fun focus(): Unit
open fun getChildren(): List<Component>
var isDraggable: Boolean
var isResizable: Boolean
open fun remove(child: Component): SimplePanel
open fun removeAll(): SimplePanel
open fun toFront(): Unit
fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window