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
enum class AddRowMode
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, centered: Boolean = false, 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, centered: Boolean = false, callback: (() -> Unit)? = null): Unit
var text: String?
enum class Align
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
abstract class Application
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)
fun toString(): String
abstract class BaseDataComponent : DataComponent
object Battery
external class BatteryStatus
enum class BgAttach
enum class BgClip
enum class BgOrigin
enum class BgRepeat
enum class BgSize
class BigDecimalDeserializer
class BigDecimalSerializer
external interface BitmapOptions
external interface BluetoothDevice
open class Bold : Tag
interface BoolFormControl : FormControl
class Border
enum class BorderStyle
external class Browser
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
enum class BsBgColor
enum class BsBorder
enum class BsColor
enum class BsRounded
open class Button : Widget
open class ButtonGroup : SimplePanel
enum class ButtonGroupSize
enum class ButtonSize
enum class ButtonStyle
enum class ButtonsType
enum class ButtonType
class Cache<K, V>
enum class Calc
open class CallAgent
object Camera
class CameraException : Exception
data class CameraOptions
Module Contents
CameraOptions(quality: Int? = null, destinationType: Camera.DestinationType? = null, sourceType: Camera.PictureSourceType? = null, allowEdit: Boolean? = null, encodingType: Camera.EncodingType? = null, targetWidth: Int? = null, targetHeight: Int? = null, mediaType: Camera.MediaType? = null, correctOrientation: Boolean? = null, saveToPhotoAlbum: Boolean? = null, popoverOptions: Camera.CameraPopoverOptions? = null, cameraDirection: Camera.Direction? = null)
val allowEdit: Boolean?
val cameraDirection: Camera.Direction?
val correctOrientation: Boolean?
val destinationType: Camera.DestinationType?
val encodingType: Camera.EncodingType?
val mediaType: Camera.MediaType?
val popoverOptions: Camera.CameraPopoverOptions?
val quality: Int?
val saveToPhotoAlbum: Boolean?
val sourceType: Camera.PictureSourceType?
val targetHeight: Int?
val targetWidth: Int?
open class Canvas : Widget
class CaptureException : Exception
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
open var options: Chart.ChartOptions
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 ChartOptions
Module Contents
ChartOptions(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: ((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, plugins: dynamic = 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: ((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 plugins: dynamic
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 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
data class ColumnDefinition<T : Any>
Module Contents
ColumnDefinition(title: String, field: String? = null, columns: List<ColumnDefinition<T>>? = null, visible: Boolean? = null, align: Align? = null, width: String? = null, minWidth: Int? = null, widthGrow: Int? = null, widthShrink: Int? = null, resizable: Boolean? = null, frozen: Boolean? = null, responsive: Int? = null, tooltip: ((cell: Tabulator.CellComponent) -> String)? = null, cssClass: String? = null, rowHandle: Boolean? = null, hideInHtml: Boolean? = null, sorter: Sorter? = null, sorterFunction: ((dynamic, dynamic, aRow: Tabulator.RowComponent, bRow: Tabulator.RowComponent, column: Tabulator.ColumnComponent, dir: SortingDir, dynamic) -> Number)? = null, sorterParams: dynamic = null, formatter: Formatter? = null, formatterFunction: ((cell: Tabulator.CellComponent, dynamic, onRendered: (callback: () -> Unit) -> Unit) -> dynamic)? = null, formatterComponentFunction: ((cell: Tabulator.CellComponent, onRendered: (callback: () -> Unit) -> Unit, data: T) -> Component)? = null, formatterParams: dynamic = null, variableHeight: Boolean? = null, editable: ((cell: Tabulator.CellComponent) -> Boolean)? = null, editor: Editor? = null, editorFunction: ((cell: Tabulator.CellComponent, onRendered: (callback: () -> Unit) -> Unit, success: (dynamic) -> Unit, cancel: (dynamic) -> Unit, dynamic) -> dynamic)? = null, editorComponentFunction: ((cell: Tabulator.CellComponent, onRendered: (callback: () -> Unit) -> Unit, success: (dynamic) -> Unit, cancel: (dynamic) -> Unit, data: T) -> Component)? = null, editorParams: dynamic = null, validator: Validator? = null, validatorFunction: dynamic = null, validatorParams: String? = null, download: Boolean? = null, downloadTitle: String? = null, topCalc: Calc? = null, topCalcParams: dynamic = null, topCalcFormatter: Formatter? = null, topCalcFormatterParams: dynamic = null, bottomCalc: Calc? = null, bottomCalcParams: dynamic = null, bottomCalcFormatter: Formatter? = null, bottomCalcFormatterParams: dynamic = null, headerSort: Boolean? = null, headerSortStartingDir: SortingDir? = null, headerSortTristate: Boolean? = null, headerClick: ((dynamic, column: Tabulator.ColumnComponent) -> Unit)? = null, headerDblClick: ((dynamic, column: Tabulator.ColumnComponent) -> Unit)? = null, headerContext: ((dynamic, column: Tabulator.ColumnComponent) -> Unit)? = null, headerTap: ((dynamic, column: Tabulator.ColumnComponent) -> Unit)? = null, headerDblTap: ((dynamic, column: Tabulator.ColumnComponent) -> Unit)? = null, headerTapHold: ((dynamic, column: Tabulator.ColumnComponent) -> Unit)? = null, headerTooltip: ((column: Tabulator.ColumnComponent) -> String)? = null, headerVertical: Boolean? = null, editableTitle: Boolean? = null, titleFormatter: Formatter? = null, titleFormatterParams: dynamic = null, headerFilter: Editor? = null, headerFilterParams: dynamic = null, headerFilterPlaceholder: String? = null, headerFilterEmptyCheck: ((value: Any) -> Boolean)? = null, headerFilterFunc: Filter? = null, headerFilterFuncParams: dynamic = null, headerFilterLiveFilter: Boolean? = null, htmlOutput: Boolean? = null, print: Boolean? = null, cellClick: ((dynamic, cell: Tabulator.CellComponent) -> Unit)? = null, cellDblClick: ((dynamic, cell: Tabulator.CellComponent) -> Unit)? = null, cellContext: ((dynamic, cell: Tabulator.CellComponent) -> Unit)? = null, cellTap: ((dynamic, cell: Tabulator.CellComponent) -> Unit)? = null, cellDblTap: ((dynamic, cell: Tabulator.CellComponent) -> Unit)? = null, cellTapHold: ((dynamic, cell: Tabulator.CellComponent) -> Unit)? = null, cellMouseEnter: ((dynamic, cell: Tabulator.CellComponent) -> Unit)? = null, cellMouseLeave: ((dynamic, cell: Tabulator.CellComponent) -> Unit)? = null, cellMouseOver: ((dynamic, cell: Tabulator.CellComponent) -> Unit)? = null, cellMouseOut: ((dynamic, cell: Tabulator.CellComponent) -> Unit)? = null, cellMouseMove: ((dynamic, cell: Tabulator.CellComponent) -> Unit)? = null, cellEditing: ((cell: Tabulator.CellComponent) -> Unit)? = null, cellEdited: ((cell: Tabulator.CellComponent) -> Unit)? = null, cellEditCancelled: ((cell: Tabulator.CellComponent) -> Unit)? = null)
val align: Align?
val bottomCalc: Calc?
val bottomCalcFormatter: Formatter?
val bottomCalcFormatterParams: dynamic
val bottomCalcParams: dynamic
val cellClick: ((dynamic, cell: Tabulator.CellComponent) -> Unit)?
val cellContext: ((dynamic, cell: Tabulator.CellComponent) -> Unit)?
val cellDblClick: ((dynamic, cell: Tabulator.CellComponent) -> Unit)?
val cellDblTap: ((dynamic, cell: Tabulator.CellComponent) -> Unit)?
val cellEditCancelled: ((cell: Tabulator.CellComponent) -> Unit)?
val cellEdited: ((cell: Tabulator.CellComponent) -> Unit)?
val cellEditing: ((cell: Tabulator.CellComponent) -> Unit)?
val cellMouseEnter: ((dynamic, cell: Tabulator.CellComponent) -> Unit)?
val cellMouseLeave: ((dynamic, cell: Tabulator.CellComponent) -> Unit)?
val cellMouseMove: ((dynamic, cell: Tabulator.CellComponent) -> Unit)?
val cellMouseOut: ((dynamic, cell: Tabulator.CellComponent) -> Unit)?
val cellMouseOver: ((dynamic, cell: Tabulator.CellComponent) -> Unit)?
val cellTap: ((dynamic, cell: Tabulator.CellComponent) -> Unit)?
val cellTapHold: ((dynamic, cell: Tabulator.CellComponent) -> Unit)?
val columns: List<ColumnDefinition<T>>?
val cssClass: String?
val download: Boolean?
val downloadTitle: String?
val editable: ((cell: Tabulator.CellComponent) -> Boolean)?
val editableTitle: Boolean?
val editor: Editor?
val editorComponentFunction: ((cell: Tabulator.CellComponent, onRendered: (callback: () -> Unit) -> Unit, success: (dynamic) -> Unit, cancel: (dynamic) -> Unit, data: T) -> Component)?
val editorFunction: ((cell: Tabulator.CellComponent, onRendered: (callback: () -> Unit) -> Unit, success: (dynamic) -> Unit, cancel: (dynamic) -> Unit, dynamic) -> dynamic)?
val editorParams: dynamic
val field: String?
val formatter: Formatter?
val formatterComponentFunction: ((cell: Tabulator.CellComponent, onRendered: (callback: () -> Unit) -> Unit, data: T) -> Component)?
val formatterFunction: ((cell: Tabulator.CellComponent, dynamic, onRendered: (callback: () -> Unit) -> Unit) -> dynamic)?
val formatterParams: dynamic
val frozen: Boolean?
val headerClick: ((dynamic, column: Tabulator.ColumnComponent) -> Unit)?
val headerContext: ((dynamic, column: Tabulator.ColumnComponent) -> Unit)?
val headerDblClick: ((dynamic, column: Tabulator.ColumnComponent) -> Unit)?
val headerDblTap: ((dynamic, column: Tabulator.ColumnComponent) -> Unit)?
val headerFilter: Editor?
val headerFilterEmptyCheck: ((value: Any) -> Boolean)?
val headerFilterFunc: Filter?
val headerFilterFuncParams: dynamic
val headerFilterLiveFilter: Boolean?
val headerFilterParams: dynamic
val headerFilterPlaceholder: String?
val headerSort: Boolean?
val headerSortStartingDir: SortingDir?
val headerSortTristate: Boolean?
val headerTap: ((dynamic, column: Tabulator.ColumnComponent) -> Unit)?
val headerTapHold: ((dynamic, column: Tabulator.ColumnComponent) -> Unit)?
val headerTooltip: ((column: Tabulator.ColumnComponent) -> String)?
val headerVertical: Boolean?
val hideInHtml: Boolean?
val htmlOutput: Boolean?
val minWidth: Int?
val print: Boolean?
val resizable: Boolean?
val responsive: Int?
val rowHandle: Boolean?
val sorter: Sorter?
val sorterFunction: ((dynamic, dynamic, aRow: Tabulator.RowComponent, bRow: Tabulator.RowComponent, column: Tabulator.ColumnComponent, dir: SortingDir, dynamic) -> Number)?
val sorterParams: dynamic
val title: String
val titleFormatter: Formatter?
val titleFormatterParams: dynamic
val tooltip: ((cell: Tabulator.CellComponent) -> String)?
val topCalc: Calc?
val topCalcFormatter: Formatter?
val topCalcFormatterParams: dynamic
val topCalcParams: dynamic
val validator: Validator?
val validatorFunction: dynamic
val validatorParams: String?
val variableHeight: Boolean?
val visible: Boolean?
val width: String?
val widthGrow: Int?
val widthShrink: Int?
enum class ColumnPosition
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, centered: Boolean = false, 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, centered: Boolean = false, 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 : Div
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 class Coordinates
enum class CordovaEvent
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<Number, UNIT>
external interface Data
interface DataComponent
class DataContainer<M, C : Component, CONT : Container> : Widget, Container, DataUpdatable
Module Contents
DataContainer(model: MutableList<M>, factory: Container.(M, Int, MutableList<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 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
enum class DataType
interface DataUpdatable
interface DateFormControl : FormControl
object DateSerializer : KSerializer<Date>
open class DateTime : SimplePanel, DateFormControl
open class DateTimeInput : SimplePanel, 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 class Device
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
enum class Direction
external interface DirectoryEntry : Entry
external interface DirectoryEntryCallback
external interface DirectoryEntrySync : EntrySync
external interface DirectoryReader
external interface DirectoryReaderSync
typealias Dispatch<A> = (A) -> Unit
enum class Display
external interface Display
external interface DisplayBalloonOptions
open class Div : Tag
external interface Dock
open class DockPanel : SimplePanel
data class DownloadConfig
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
enum class DownloadSet
open class DropDown : SimplePanel
external interface EditFlags
enum class Editor
enum class Eeasing
data class ElementsOptions
external interface EnableNetworkEmulationOptions
external interface EntriesCallback
external interface Entry
external interface EntryCallback
external interface EntrySync
external interface ErrorCallback
external interface Event
open external class EventEmitter
external interface EventListenerObject
external interface Extensions
external interface Extra
external interface FeedURLOptions
open class FieldLabel : Tag
open class FieldsetPanel : SimplePanel
object File
external interface FileCallback
external interface FileEntry : Entry
external interface FileEntryCallback
external interface FileEntrySync : EntrySync
class FileException : Exception
external interface FileFilter
external interface FileIconOptions
external interface FileSaver : EventTarget
external interface FileSystem
external interface FileSystemCallback
external interface FileSystemSync
external interface FileWriter : FileSaver
external interface FileWriterCallback
external interface FileWriterSync
external interface Filter
enum class Filter
external interface FindInPageOptions
external interface Flags
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?
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>, customSerializers: Map<KClass<*>, KSerializer<*>>? = null)
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 <C : StringFormControl> addCustom(key: KProperty1<K, Any?>, 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, customSerializers: Map<KClass<*>, KSerializer<*>>? = 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
enum class Formatter
interface FormControl : Component
enum class FormEnctype
enum class FormHorizontalRatio
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, condensed: Boolean = false, horizRatio: FormHorizontalRatio = FormHorizontalRatio.RATIO_2, classes: Set<String> = setOf(), serializer: KSerializer<K>, customSerializers: Map<KClass<*>, KSerializer<*>>? = null)
var action: String?
open fun <C : StringFormControl> add(key: KProperty1<K, String?>, control: C, required: Boolean = false, requiredMessage: String? = null, legend: 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, legend: 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, legend: 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, legend: 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, legend: String? = null, validatorMessage: ((C) -> String?)? = null, validator: ((C) -> Boolean?)? = null): FormPanel<K>
open fun <C : StringFormControl> addCustom(key: KProperty1<K, Any?>, control: C, required: Boolean = false, requiredMessage: String? = null, legend: 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, legend: String? = null, validatorMessage: ((C) -> String?)? = null, validator: ((C) -> Boolean?)? = null): FormPanel<K>
var autocomplete: Boolean?
open fun clearData(): Unit
var condensed: Boolean
inline fun <reified K : Any> create(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, horizRatio: FormHorizontalRatio = FormHorizontalRatio.RATIO_2, classes: Set<String> = setOf(), customSerializers: Map<KClass<*>, KSerializer<*>>? = null, noinline init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K>
var enctype: FormEnctype?
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 horizRatio: FormHorizontalRatio
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
object Geolocation
class GeolocationException : Exception
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>
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
open class Header : Tag
external interface Header
open class Header : Tag
open class HeaderCell : Tag
external interface Headers
open class HelpText : Tag
external interface Hot
data class HoverOptions
open class HPanel : FlexPanel
enum class HttpMethod
enum class HttpType
enum class HttpType
object I18n : I18nManager
interface I18nManager
open class Icon : Tag
actual typealias Id = Id
open class Iframe : Widget
external interface IgnoreMouseEventsOptions
open class Image : Widget
enum class ImageShape
external interface ImportCertificateOptions
object InAppBrowser
external class InAppBrowserEvent
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
open class InvalidFeedback : Tag
external interface IOCounters
external interface IpcMain : EventEmitter
external interface IpcMessageEvent : Event
external interface IpcRenderer : EventEmitter
external interface Item
java.time.LocalDate
java.time.LocalDateTime
java.time.LocalTime
java.time.OffsetDateTime
java.time.OffsetTime
external class Jed
object JSON
object JSON
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.Number
kotlin.Pair
kotlin.String
kotlin.String
class KvEvent : CustomEvent
open class KVHandler
object KVManager
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 class KVRouterConfiguration
@Target([AnnotationTarget.CLASS]) annotation class KVService
open actual class KVServiceManager<T : Any>
Module Contents
KVServiceManager(serviceClass: KClass<T>)
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 inline fun <reified PAR1 : Any, reified PAR2 : Any> bind(noinline function: suspend T.(<ERROR CLASS><PAR1>, <ERROR CLASS><PAR2>) -> Unit, route: String?): Unit
protected actual inline fun <reified RET> bindTabulatorRemote(noinline function: suspend T.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?, String?) -> <ERROR CLASS><RET>): 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>>
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>
val webSocketsRequests: MutableMap<String, suspend (<ERROR CLASS>, <ERROR CLASS>, <ERROR CLASS><String>, <ERROR CLASS><String>) -> Unit>
open class KVWebSocketConfig
class KVWebSocketHandler
enum class Layout
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
class LinkedList<T>
open class ListTag : SimplePanel
enum class ListType
external interface LoadCommitEvent : Event
external interface LoadURLOptions
class LocalDateDeserializer
class LocalDateSerializer
class LocalDateTimeDeserializer
class LocalDateTimeSerializer
external object LocalFileSystem
external object LocalFileSystemSync
class LocalTimeDeserializer
class LocalTimeSerializer
object Locationservices
Module Contents
fun clearWatch(watchId: String): Unit
suspend fun getCurrentPosition(enableHighAccuracy: Boolean = true, timeout: Number? = null, maximumAge: Number? = null, priority: Locationservices.Priority? = null, interval: Number? = null, fastInterval: Number? = null): Result<Position, GeolocationException>
enum class Priority
suspend fun watchPosition(enableHighAccuracy: Boolean = true, timeout: Number? = null, maximumAge: Number? = null, priority: Locationservices.Priority? = null, interval: Number? = null, fastInterval: Number? = null, resultCallback: (Result<Position, GeolocationException>) -> Unit): String?
external interface LoginItemSettings
external interface LoginItemSettingsOptions
class LoginService
open class Main : Tag
external interface MainInterface : CommonInterface
open class MaximizeIcon : Widget
external class Media
object MediaCapture
external class MediaError
external class MediaFile
external class MediaFileData
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 Metadata
external interface MetadataCallback
external interface MimeTypedBuffer
open class MinimizeIcon : Widget
open class Modal : SimplePanel
enum class ModalSize
external interface Model
external interface Module
open external class Moment
Module Contents
Moment(dateArray: Array<dynamic>)
Moment(dateString: String, patter: String)
Moment(dateString: String)
Moment(date: Date)
Moment()
open fun add(duration: dynamic, key: String): dynamic
open fun calendar(): dynamic
open fun calendar(referenceTime: dynamic): dynamic
open fun calendar(referenceTime: dynamic, formats: dynamic): dynamic
open fun daysInMonth(): dynamic
open fun diff(moment: dynamic): dynamic
open fun diff(moment: dynamic, key: dynamic): dynamic
open fun diff(moment: dynamic, key: dynamic, floatingPoint: Boolean): dynamic
open fun endOf(key: String): dynamic
open fun format(pattern: String): dynamic
open fun format(): dynamic
open fun from(moment: dynamic): dynamic
open fun from(withoutSuffix: Boolean): dynamic
open fun fromNow(): dynamic
open fun fromNow(withoutSuffix: Boolean): dynamic
open fun inspect(): dynamic
open fun isAfter(moment: dynamic): Boolean
open fun isAfter(moment: dynamic, key: String): Boolean
open fun isBefore(moment: dynamic): Boolean
open fun isBefore(moment: dynamic, key: String): Boolean
open fun isBetween(firstMoment: dynamic, secondMoment: dynamic): Boolean
open fun isBetween(firstMoment: dynamic, secondMoment: dynamic, key: String, inclusivity: String): Boolean
open fun isBetween(firstMoment: dynamic, secondMoment: dynamic, key: String): Boolean
open fun isDST(): Boolean
open fun isDSTShifted(): Boolean
open fun isLeapYear(): Boolean
open fun isSame(moment: dynamic): Boolean
open fun isSame(moment: dynamic, key: String): Boolean
open fun isSameOrAfter(moment: dynamic): Boolean
open fun isSameOrAfter(moment: dynamic, key: String): Boolean
open fun isSameOrBefore(moment: dynamic): Boolean
open fun isSameOrBefore(moment: dynamic, key: String): Boolean
open fun lang(locale: String): dynamic
open fun lang(resetLocale: Boolean): dynamic
open fun local(): dynamic
open fun locale(locale: String): dynamic
open fun locale(resetLocale: Boolean): dynamic
open fun startOf(key: String): dynamic
open fun subtract(duration: dynamic, key: String): dynamic
open fun to(moment: dynamic): dynamic
open fun to(withoutPrefix: Boolean): dynamic
open fun toArray(): dynamic
open fun toDate(): dynamic
open fun toISOString(): dynamic
open fun toISOString(keepOffset: Boolean): dynamic
open fun toJSON(): dynamic
open fun toNow(): dynamic
open fun toNow(withoutPrefix: Boolean): dynamic
open fun toObject(): dynamic
open fun unix(): dynamic
open fun utc(): dynamic
open fun utcOffset(): dynamic
open fun utcOffset(amount: dynamic): dynamic
open fun utcOffset(amount: dynamic, keepExistingTimeOfDay: Boolean): dynamic
open fun valueOf(): dynamic
open external class NativeImage
open class Nav : Div
open class Navbar : SimplePanel
enum class NavbarColor
enum class NavbarExpand
enum class NavbarType
open class NavForm : Tag
external interface Net : EventEmitter
object Network
external interface NewWindowEvent : Event
class Node<T>
object Notification
Module Contents
fun alert(message: String, title: String? = null, buttonLabel: String? = null, callback: () -> Unit): Unit
fun beep(times: Int = 1): Unit
fun confirm(message: String, title: String? = null, buttonLabels: List<String>? = null, callback: (Int) -> Unit): Unit
fun prompt(message: String, title: String? = null, buttonLabels: List<String>? = null, defaultText: String? = null, callback: (PromptResponse) -> Unit): Unit
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
interface ObservableList<T> : MutableList<T>, ObservableState<List<T>>
class ObservableListWrapper<T> : MutableList<T>, ObservableList<T>, ObservableState<List<T>>
interface ObservableState<S>
class OffsetDateTimeDeserializer
class OffsetDateTimeSerializer
class OffsetTimeDeserializer
class OffsetTimeSerializer
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
org.w3c.files.File
enum class Overflow
enum class OverflowWrap
open class P : Tag
class Pace
class PaceAjaxOptions
class PaceElementsOptions
class PaceEventLagOptions
class PaceOptions
Module Contents
PaceOptions(ajax: PaceAjaxOptions? = null, catchupTime: Int? = null, easeFactor: Double? = null, elements: PaceElementsOptions? = null, eventLag: PaceEventLagOptions? = null, ghostTime: Int? = null, initialRate: Double? = null, maxProgressPerFrame: Int? = null, minTime: Int? = null, restartOnPushState: Boolean? = null, restartOnRequestAfter: Double? = null, startOnPageLoad: Boolean? = null, target: String? = null, manual: Boolean = false)
external interface PageFaviconUpdatedEvent : Event
external interface PageTitleUpdatedEvent : Event
enum class PaginationMode
external interface Parameters
open class Password : Text
external interface Payment
external class PendingResult
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 class Position
enum class PositionError
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
var rich: Boolean
var striped: Boolean
var style: ProgressBarStyle?
external interface ProgressBarOptions
enum class ProgressBarStyle
enum class ProgressiveMode
external class PromptResponse
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
interface RAction
open class Radio : SimplePanel, BoolFormControl
open class RadioGroup : SimplePanel, StringFormControl
open class RadioGroupInput : SimplePanel, FormInput
open class RadioInput : CheckInput
enum class RadioStyle
open class Range : SimplePanel, NumberFormControl
open class RangeInput : Widget, FormInput
enum class RangeMode
external interface ReadBookmark
external interface Rectangle
data class RectangleOptions
external interface RedirectRequest
typealias ReducerFun<S, A> = (S, A) -> S
class ReduxStore<S : Any, A : RAction> : ObservableState<S>
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
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
data class Response<T>
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
enum class ResponsiveLayout
enum class ResponsiveType
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>
fun remoteRequest(url: String, data: dynamic = null, method: HttpMethod = HttpMethod.GET, contentType: String = "application/json", beforeSend: ((JQueryXHR, JQueryAjaxSettings) -> Boolean)? = null): Promise<Response<dynamic>>
fun <T : Any> remoteRequest(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<Response<T>>
fun <V : Any> remoteRequest(url: String, serializer: SerializationStrategy<V>, data: V, method: HttpMethod = HttpMethod.GET, contentType: String = "application/json", beforeSend: ((JQueryXHR, JQueryAjaxSettings) -> Boolean)? = null): Promise<Response<dynamic>>
fun <T : Any, V : Any> remoteRequest(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<Response<T>>
inline fun <reified T : Any> request(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<Response<T>>
inline fun <reified V : Any> request(url: String, data: V, method: HttpMethod = HttpMethod.GET, contentType: String = "application/json", noinline beforeSend: ((JQueryXHR, JQueryAjaxSettings) -> Boolean)? = null): Promise<Response<dynamic>>
inline fun <T : Any, reified V : Any> request(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<Response<T>>
inline fun <reified T : Any, V : Any> request(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<Response<T>>
inline fun <reified T : Any, reified V : Any> request(url: String, data: V, method: HttpMethod = HttpMethod.GET, contentType: String = "application/json", noinline beforeSend: ((JQueryXHR, JQueryAjaxSettings) -> Boolean)? = null, noinline transform: ((dynamic) -> dynamic)? = null): Promise<Response<T>>
sealed class Result<out V : Any, out E>
external interface Result
external class ResumeEvent
open class RichText : AbstractText
open class RichTextInput : AbstractTextInput
class Root : SimplePanel
open class Routing
open class Row : Tag
enum class RowPos
enum class RowPosition
enum class Sandbox
external interface SaveDialogOptions
enum class ScalesType
data class ScaleTitleOptions
enum class Scope
object 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
open class Section : Tag
class SecurityException : Exception
abstract class SecurityMgr
external interface SegmentedControlSegment
open class Select : SimplePanel, StringFormControl
enum class SelectDropdownAlign
open class SelectInput : SimplePanel, FormInput
external interface SelectionArea
open class SelectOptGroup : SimplePanel
open class SelectOption : Widget
open class SelectRemote<T : Any> : SimplePanel, StringFormControl
Module Contents
SelectRemote(serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, value: String? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, preload: Boolean = false, 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 dropdownAlign: SelectDropdownAlign
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: SelectRemoteInput<T>
val invalidFeedback: InvalidFeedback
var label: String?
var maxOptions: Int?
var multiple: Boolean
var placeholder: String?
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
open var value: String?
open class SelectRemoteInput<T : Any> : SelectInput
enum class SelectWidthType
open class Separator : Div
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 ShowHintOnFocus
enum class Side
enum class SideTabSize
class SimpleI18nManager : I18nManager
open class SimplePanel : Widget, Container
open class SimpleSelect : SimplePanel, StringFormControl
open class SimpleSelectInput : SimplePanel, FormInput
external interface Size
external interface SizeOptions
class Socket
class SocketClosedException : Throwable
enum class Sorter
enum class SorterType
enum class SortingDir
external interface SourcesOptions
open class Span : Tag
open class Spinner : SimplePanel, NumberFormControl
Module Contents
Spinner(value: Number? = null, name: String? = null, min: Number? = null, max: Number? = null, step: Number = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false)
var autofocus: Boolean?
open fun blur(): Unit
var buttonStyle: ButtonStyle?
val 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
val invalidFeedback: InvalidFeedback
var label: String?
var max: Number?
var min: Number?
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
open fun spinUp(): Spinner
var startValue: Number?
var step: Number
open fun styleForHorizontalFormPanel(horizontalRatio: FormHorizontalRatio): Unit
open var validatorError: String?
open var value: Number?
open class SpinnerInput : Widget, FormInput
object Splashscreen
open class SplitPanel : SimplePanel
open class StackPanel : SimplePanel
external interface StartMonitoringOptions
external interface StartRecordingOptions
class StateBinding<S : Any, CONT : Container, CONTENT> : Widget
object StatusBar
external interface StreamProtocolResponse
typealias StringBoolPair = Pair<String, Boolean>
interface StringFormControl : FormControl
typealias StringPair = Pair<String, String>
open class Style : StyledComponent
abstract class StyledComponent
external class SystemDirs
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
data class TaAjaxOptions
open class Table : SimplePanel
enum class TableType
open class TabPanel : SimplePanel
enum class TabPosition
open class Tabulator<T : Any> : Widget
Module Contents
Tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf())
open fun addColumn(columnDefinition: ColumnDefinition<T>, insertRightOfTarget: Boolean? = null, positionTarget: String? = null): Unit
open fun addColumn(columnDefinition: Tabulator.ColumnDefinition, insertRightOfTarget: Boolean? = null, positionTarget: String? = null): Unit
protected open fun afterDestroy(): Unit
protected open fun afterInsert(node: VNode): Unit
open fun applyFilter(): Unit
open fun clearData(): Unit?
open fun clearFilter(: Boolean = true): Unit
open fun clearHeaderFilter(): Unit
open fun clearSort(): Unit
fun <T : Any> create(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T>
fun <T : Any, S : Any> create(store: ObservableState<S>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T>
protected fun createJsTabulator(): Unit
protected val data: List<T>?
protected val dataUpdateOnEdit: Boolean
open fun deleteColumn(name: String): Unit
open fun deselectRow(row: Int): Unit
open fun downloadCSV(fileName: String? = null, dataSet: DownloadSet = DownloadSet.ACTIVE, delimiter: Char = ',', includeBOM: Boolean = false, newTab: Boolean = false): Unit?
open fun downloadHTML(fileName: String? = null, dataSet: DownloadSet = DownloadSet.ACTIVE, style: Boolean = false, newTab: Boolean = false): Unit?
open fun downloadJSON(fileName: String? = null, dataSet: DownloadSet = DownloadSet.ACTIVE, newTab: Boolean = false): Unit?
protected var filter: ((T) -> Boolean)?
open fun getColumn(name: String): Tabulator.ColumnComponent?
open fun getData(active: Boolean): List<T>?
open fun getDataCount(activeOnly: Boolean = false): Int
open fun getHistoryRedoSize(): Int
open fun getHistoryUndoSize(): Int
open fun getHtml(activeOnly: Boolean = false, isStyled: Boolean = false, htmlOutputConfig: dynamic = null): String?
open fun getPage(): Int
open fun getPageMax(): Int
open fun getPageSize(): Int
open fun getSelectedData(): List<T>
open fun getSelectedRows(): List<Tabulator.RowComponent>
protected open fun getSnClass(): List<StringBoolPair>
var jsTabulator: Tabulator?
open fun navigateDown(): Unit
open fun navigateLeft(): Unit
open fun navigateNext(): Unit
open fun navigatePrev(): Unit
open fun navigateRight(): Unit
open fun navigateUp(): Unit
open fun nextPage(): Unit
val options: TabulatorOptions<T>
open fun previousPage(): Unit
open fun print(activeOnly: Boolean = false, isStyled: Boolean = false, printConfig: dynamic = null): Unit?
open fun redo(): Boolean
open fun redraw(force: Boolean = false): Unit
open fun reload(): Unit
protected open fun render(): VNode
open fun replaceData(data: Array<T>): Unit
open fun scrollToRow(row: Int, position: RowPosition? = null, ifVisible: Boolean? = null): Unit
open fun selectRow(row: Int): Unit
open fun setData(data: Array<T>): Unit
open fun setFilter(filter: (T) -> Boolean): Unit
open fun setHeight(height: Int): Unit
open fun setPage(page: Int): Unit
open fun setPageSize(size: Int): Unit
open fun setPageToRow(row: Int): Unit
open fun toggleSelectRow(row: Int): Unit
var types: Set<TableType>
open fun undo(): Boolean
open external class Tabulator
Module Contents
Tabulator(selector: String, options: Tabulator.Options? = definedExternally)
Tabulator(selector: <ERROR CLASS>, options: Tabulator.Options? = definedExternally)
open fun addColumn(definition: Tabulator.ColumnDefinition, insertRightOfTarget: Boolean?, positionTarget: dynamic): Unit
open fun addData(data: Array<Any>?, addToTop: Boolean?, positionTarget: dynamic): Promise<Tabulator.RowComponent>
open fun addFilter(field: String, type: dynamic, value: Any): Unit
open fun addRow(data: Any?, addToTop: Boolean?, positionTarget: dynamic): Promise<Tabulator.RowComponent>
interface AjaxConfig
interface AjaxContentType
interface AutoCompleteParams
open var browser: String
open var browserSlow: Boolean
interface CellCallbacks
Module Contents
open var cellClick: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
open var cellContext: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
open var cellDblClick: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
open var cellDblTap: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
open var cellEditCancelled: ((cell: Tabulator.CellComponent) -> Unit)?
open var cellEdited: ((cell: Tabulator.CellComponent) -> Unit)?
open var cellEditing: ((cell: Tabulator.CellComponent) -> Unit)?
open var cellMouseEnter: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
open var cellMouseLeave: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
open var cellMouseMove: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
open var cellMouseOut: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
open var cellMouseOver: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
open var cellTap: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
open var cellTapHold: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
interface CellComponent
interface CellNavigation
interface CheckboxParams
open fun clearData(): Unit
open fun clearFilter(: Boolean): Unit
open fun clearHeaderFilter(): Unit
open fun clearSort(): Unit
interface ClipboardConfig
interface ColumnComponent
interface ColumnDefinition : Tabulator.ColumnLayout, Tabulator.CellCallbacks
Module Contents
open var accessor: ((value: Any, data: Any, dynamic, AccessorParams: Any, column: Tabulator.ColumnComponent?) -> Any)?
open var accessorClipboard: ((value: Any, data: Any, dynamic, AccessorParams: Any, column: Tabulator.ColumnComponent?) -> Any)?
open var accessorClipboardParams: dynamic
open var accessorDownload: ((value: Any, data: Any, dynamic, AccessorParams: Any, column: Tabulator.ColumnComponent?) -> Any)?
open var accessorDownloadParams: dynamic
open var accessorParams: dynamic
open var align: dynamic
open var bottomCalc: dynamic
open var bottomCalcFormatter: dynamic
open var bottomCalcFormatterParams: dynamic
open var bottomCalcParams: ((values: Any, data: Any) -> Any)?
open var cssClass: String?
open var download: Boolean?
open var downloadTitle: String?
open var editable: dynamic
open var editableTitle: Boolean?
open var editor: dynamic
open var editorParams: dynamic
open var formatter: dynamic
open var formatterParams: dynamic
open var frozen: Boolean?
open var headerClick: ((e: Any, column: Tabulator.ColumnComponent) -> Unit)?
open var headerContext: ((e: Any, column: Tabulator.ColumnComponent) -> Unit)?
open var headerDblClick: ((e: Any, column: Tabulator.ColumnComponent) -> Unit)?
open var headerDblTap: ((e: Any, column: Tabulator.ColumnComponent) -> Unit)?
open var headerFilter: dynamic
open var headerFilterEmptyCheck: ((value: Any) -> Boolean)?
open var headerFilterFunc: dynamic
open var headerFilterFuncParams: Any?
open var headerFilterLiveFilter: Boolean?
open var headerFilterParams: dynamic
open var headerFilterPlaceholder: String?
open var headerSort: Boolean?
open var headerSortStartingDir: dynamic
open var headerSortTristate: Boolean?
open var headerTap: ((e: Any, column: Tabulator.ColumnComponent) -> Unit)?
open var headerTapHold: ((e: Any, column: Tabulator.ColumnComponent) -> Unit)?
open var headerTooltip: dynamic
open var headerVertical: dynamic
open var hideInHtml: Boolean?
open var minWidth: Number?
open var mutator: ((value: Any, data: Any, dynamic, mutatorParams: Any, cell: Tabulator.CellComponent?) -> Any)?
open var mutatorClipboard: ((value: Any, data: Any, dynamic, mutatorParams: Any, cell: Tabulator.CellComponent?) -> Any)?
open var mutatorClipboardParams: dynamic
open var mutatorData: ((value: Any, data: Any, dynamic, mutatorParams: Any, cell: Tabulator.CellComponent?) -> Any)?
open var mutatorDataParams: dynamic
open var mutatorEdit: ((value: Any, data: Any, dynamic, mutatorParams: Any, cell: Tabulator.CellComponent?) -> Any)?
open var mutatorEditParams: dynamic
open var mutatorParams: dynamic
open var resizable: Boolean?
open var responsive: Number?
open var rowHandle: Boolean?
open var sorter: dynamic
open var sorterParams: dynamic
open var titleFormatter: dynamic
open var titleFormatterParams: dynamic
open var tooltip: dynamic
open var topCalc: dynamic
open var topCalcFormatter: dynamic
open var topCalcFormatterParams: dynamic
open var topCalcParams: ((values: Any, data: Any) -> Any)?
open var validator: dynamic
open var variableHeight: Boolean?
open var widthGrow: Number?
open var widthShrink: Number?
interface ColumnDefinitionSorterParams
interface ColumnLayout
open var columnManager: Any
open fun copyToClipboard(type: dynamic): Unit
interface DateTimeDifferenceParams : Tabulator.DateTimeParams
interface DateTimeParams
open fun deleteColumn(column: dynamic): Unit
open fun deleteRow(row: dynamic): Unit
open fun deselectRow(row: dynamic): Unit
open fun destroy(): Unit
open fun download(downloadType: dynamic, fileName: String?, params: Tabulator.DownloadOptions?, set: String?): Unit
interface DownloadConfig
interface DownloadCSV
interface DownloadOptions : Tabulator.DownloadCSV, Tabulator.DownloadXLXS, Tabulator.DownloadPDF
interface DownloadPDF
open fun downloadToTab(downloadType: dynamic, fileName: String?, params: Tabulator.DownloadOptions?, set: String?): Unit
interface DownloadXLXS
open fun extendModule(name: String, property: String, values: Any): Unit
interface Filter
open var footerManager: Any
open fun getAjaxUrl(): String
open fun getCalcResults(): Any
open fun getColumn(column: dynamic): Tabulator.ColumnComponent
open fun getColumnDefinitions(): Array<Tabulator.ColumnDefinition>
open fun getColumnLayout(): Array<Tabulator.ColumnLayout>
open fun getColumns(includeColumnGroups: Boolean?): dynamic
open fun getData(activeOnly: Boolean?): Array<Any>
open fun getDataCount(activeOnly: Boolean?): Number
open fun getFilters(: Boolean): Array<Tabulator.Filter>
open fun getGroupedData(activeOnly: Boolean?): Any
open fun getGroups(): Array<Tabulator.GroupComponent>
open fun getHeaderFilters(): Array<Tabulator.Filter>
open fun getHistoryRedoSize(): dynamic
open fun getHistoryUndoSize(): dynamic
open fun getHtml(activeOnly: Boolean?, isStyled: Boolean?, htmlOutputConfig: dynamic): String
open fun getLang(locale: String?): Any
open fun getLocale(): String
open fun getPage(): dynamic
open fun getPageMax(): dynamic
open fun getPageSize(): Number
open fun getRow(row: dynamic): Tabulator.RowComponent
open fun getRowFromPosition(position: Number, activeOnly: Boolean?): Unit
open fun getRowPosition(row: dynamic, activeOnly: Boolean?): Number
open fun getRows(activeOnly: Boolean?): Array<Tabulator.RowComponent>
open fun getSelectedData(): Array<Any>
open fun getSelectedRows(): Array<Tabulator.RowComponent>
open fun getSorters(): Unit
interface GroupComponent
open fun hideColumn(column: dynamic): Unit
interface ImageParams
interface KeyBinding
interface LinkParams
open var modules: Any
interface MoneyParams
open fun moveRow(fromRow: dynamic, toRow: dynamic, placeAboveTarget: Boolean?): Unit
open fun navigateDown(): Unit
open fun navigateLeft(): Unit
open fun navigateNext(): Unit
open fun navigatePrev(): Unit
open fun navigateRight(): Unit
open fun navigateUp(): Unit
open fun nextPage(): Promise<Unit>
interface NumberParams
open var options: Tabulator.Options
interface Options : Tabulator.OptionsGeneral, Tabulator.OptionsHistory, Tabulator.OptionsLocale, Tabulator.OptionsDownload, Tabulator.OptionsColumns, Tabulator.OptionsRows, Tabulator.OptionsData, Tabulator.OptionsSorting, Tabulator.OptionsFiltering, Tabulator.OptionsRowGrouping, Tabulator.OptionsPagination, Tabulator.OptionsPersistentConfiguration, Tabulator.OptionsClipboard, Tabulator.OptionsDataTree, Tabulator.OptionsCell
interface OptionsCell
Module Contents
open var cellClick: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
open var cellContext: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
open var cellDblClick: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
open var cellDblTap: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
open var cellEditCancelled: ((cell: Tabulator.CellComponent) -> Unit)?
open var cellEdited: ((cell: Tabulator.CellComponent) -> Unit)?
open var cellEditing: ((cell: Tabulator.CellComponent) -> Unit)?
open var cellMouseEnter: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
open var cellMouseLeave: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
open var cellMouseMove: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
open var cellMouseOut: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
open var cellMouseOver: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
open var cellTap: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
open var cellTapHold: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
interface OptionsCells : Tabulator.CellCallbacks
interface OptionsClipboard
interface OptionsColumns
interface OptionsData
interface OptionsDataTree
interface OptionsDownload
interface OptionsFiltering
interface OptionsGeneral
interface OptionsHistory
interface OptionsLocale
interface OptionsPagination
interface OptionsPersistentConfiguration
interface OptionsRowGrouping
interface OptionsRows
Module Contents
open var addRowPos: dynamic
open var dataTreeRowCollapsed: ((row: Tabulator.RowComponent, level: Number) -> Unit)?
open var dataTreeRowExpanded: ((row: Tabulator.RowComponent, level: Number) -> Unit)?
open var movableRows: Boolean?
open var movableRowsConnectedTables: dynamic
open var movableRowsReceived: ((fromRow: Tabulator.RowComponent, toRow: Tabulator.RowComponent, fromTable: Tabulator) -> Unit)?
open var movableRowsReceivedFailed: ((fromRow: Tabulator.RowComponent, toRow: Tabulator.RowComponent, fromTable: Tabulator) -> Unit)?
open var movableRowsReceiver: dynamic
open var movableRowsReceivingStart: ((fromRow: Tabulator.RowComponent, toTable: Tabulator) -> Unit)?
open var movableRowsReceivingStop: ((fromTable: Tabulator) -> Unit)?
open var movableRowsSender: dynamic
open var movableRowsSendingStart: ((toTables: Array<Any>) -> Unit)?
open var movableRowsSendingStop: ((toTables: Array<Any>) -> Unit)?
open var movableRowsSent: ((fromRow: Tabulator.RowComponent, toRow: Tabulator.RowComponent, toTable: Tabulator) -> Unit)?
open var movableRowsSentFailed: ((fromRow: Tabulator.RowComponent, toRow: Tabulator.RowComponent, toTable: Tabulator) -> Unit)?
open var resizableRows: Boolean?
open var rowAdded: ((row: Tabulator.RowComponent) -> Unit)?
open var rowClick: ((e: Any, row: Tabulator.RowComponent) -> Unit)?
open var rowContext: ((e: Any, row: Tabulator.RowComponent) -> Unit)?
open var rowDblClick: ((e: Any, row: Tabulator.RowComponent) -> Unit)?
open var rowDblTap: ((e: Any, row: Tabulator.RowComponent) -> Unit)?
open var rowDeleted: ((row: Tabulator.RowComponent) -> Unit)?
open var rowDeselected: ((row: Tabulator.RowComponent) -> Unit)?
open var rowFormatter: ((row: Tabulator.RowComponent) -> Any)?
open var rowMouseEnter: ((e: Any, row: Tabulator.RowComponent) -> Unit)?
open var rowMouseLeave: ((e: Any, row: Tabulator.RowComponent) -> Unit)?
open var rowMouseMove: ((e: Any, row: Tabulator.RowComponent) -> Unit)?
open var rowMouseOut: ((e: Any, row: Tabulator.RowComponent) -> Unit)?
open var rowMouseOver: ((e: Any, row: Tabulator.RowComponent) -> Unit)?
open var rowMoved: ((row: Tabulator.RowComponent) -> Unit)?
open var rowResized: ((row: Tabulator.RowComponent) -> Unit)?
open var rowSelected: ((row: Tabulator.RowComponent) -> Unit)?
open var rowSelectionChanged: ((data: Array<Any>, rows: Array<Tabulator.RowComponent>) -> Unit)?
open var rowTap: ((e: Any, row: Tabulator.RowComponent) -> Unit)?
open var rowTapHold: ((e: Any, row: Tabulator.RowComponent) -> Unit)?
open var rowUpdated: ((row: Tabulator.RowComponent) -> Unit)?
open var scrollToRowIfVisible: Boolean?
open var scrollToRowPosition: dynamic
open var selectable: dynamic
open var selectableCheck: ((row: Tabulator.RowComponent) -> Boolean)?
open var selectablePersistence: Boolean?
open var selectableRangeMode: String?
open var selectableRollingSelection: Boolean?
interface OptionsSorting
open fun previousPage(): Promise<Unit>
open fun print(activeOnly: Boolean?, isStyled: Boolean?, printConfig: dynamic): Unit
interface ProgressBarParams : Tabulator.TrafficParams
open fun redo(): Boolean
open fun redraw(force: Boolean?): Unit
open fun removeFilter(field: String, type: dynamic, value: Any): Unit
open fun replaceData(data: dynamic, params: Any?, config: Any?): Promise<Unit>
interface RowComponent
open var rowManager: Any
open fun scrollToColumn(column: dynamic, position: dynamic, ifVisible: Boolean?): Promise<Unit>
open fun scrollToRow(row: dynamic, position: dynamic, ifVisible: Boolean?): Promise<Unit>
open fun searchData(field: String, type: dynamic, value: Any): Array<Any>
open fun searchRows(field: String, type: dynamic, value: Any): Array<Tabulator.RowComponent>
interface SelectLabelValue
interface SelectParams
interface SelectParamsGroup
open fun selectRow(row: dynamic): Unit
open fun setColumnLayout(layout: Tabulator.ColumnLayout): Unit
open fun setColumns(definitions: Array<Tabulator.ColumnDefinition>): Unit
open fun setData(data: dynamic, params: Any?, config: Any?): Promise<Unit>
open fun setDataFromLocalFile(extensions: String): Unit
open fun setFilter(p1: dynamic, p2: dynamic, value: Any?): Unit
open fun setGroupBy(groups: dynamic): Unit
open fun setGroupHeader(: dynamic): Unit
open fun setGroupStartOpen(values: dynamic): Unit
open fun setHeaderFilterFocus(column: dynamic): Unit
open fun setHeaderFilterValue(column: dynamic, : String): Unit
open fun setHeight(height: Number): Unit
open fun setLocale(locale: dynamic): Unit
open fun setMaxPage(max: Number): Unit
open fun setPage(page: dynamic): Promise<Unit>
open fun setPageSize(size: Number): Unit
open fun setPageToRow(row: dynamic): Promise<Unit>
open fun setSort(sortList: dynamic, dir: dynamic): Unit
open fun showColumn(column: dynamic): Unit
interface Sorter
interface StarRatingParams
interface TickCrossParams
open fun toggleColumn(column: dynamic): Unit
open fun toggleSelectRow(row: dynamic): Unit
interface TrafficParams
open fun undo(): Boolean
open fun updateData(data: Array<Any>): Promise<Unit>
open fun updateOrAddData(data: Array<Any>): Promise<Array<Tabulator.RowComponent>>
open fun updateOrAddRow(row: dynamic, data: Any): Promise<Tabulator.RowComponent>
open fun updateRow(row: dynamic, data: Any): Boolean
interface Validator
data class TabulatorOptions<T : Any>
Module Contents
TabulatorOptions(height: String? = null, virtualDom: Boolean? = null, virtualDomBuffer: Int? = null, placeholder: String? = null, footerElement: String? = null, tooltips: ((cell: Tabulator.CellComponent) -> String)? = null, tooltipGenerationMode: TooltipGenerationMode? = null, history: Boolean? = null, keybindings: dynamic = null, downloadDataFormatter: dynamic = null, downloadConfig: DownloadConfig? = null, reactiveData: Boolean? = null, autoResize: Boolean? = null, columns: List<ColumnDefinition<T>>? = null, autoColumns: Boolean? = null, layout: Layout? = null, layoutColumnsOnNewData: Boolean? = null, responsiveLayout: ResponsiveLayout? = null, responsiveLayoutCollapseStartOpen: Boolean? = null, responsiveLayoutCollapseUseFormatters: Boolean? = null, columnMinWidth: Int? = null, resizableColumns: Boolean? = null, movableColumns: Boolean? = null, tooltipsHeader: Boolean? = null, headerFilterPlaceholder: String? = null, scrollToColumnPosition: ColumnPosition? = null, scrollToColumnIfVisible: Boolean? = null, rowFormatter: ((row: Tabulator.RowComponent) -> Unit)? = null, addRowPos: RowPos? = null, selectable: dynamic = null, selectableRangeMode: RangeMode? = null, selectableRollingSelection: Boolean? = null, selectablePersistence: Boolean? = null, selectableCheck: ((row: Tabulator.RowComponent) -> Boolean)? = null, movableRows: Boolean? = null, movableRowsConnectedTables: dynamic = null, movableRowsSender: dynamic = null, movableRowsReceiver: dynamic = null, resizableRows: Boolean? = null, scrollToRowPosition: RowPosition? = null, scrollToRowIfVisible: Boolean? = null, index: String? = null, data: Array<T>? = null, ajaxURL: String? = null, ajaxParams: dynamic = null, ajaxConfig: dynamic = null, ajaxContentType: dynamic = null, ajaxURLGenerator: ((url: String, dynamic, dynamic) -> String)? = null, ajaxRequestFunc: ((url: String, dynamic, dynamic) -> Promise<Any>)? = null, ajaxFiltering: Boolean? = null, ajaxSorting: Boolean? = null, ajaxProgressiveLoad: ProgressiveMode? = null, ajaxProgressiveLoadDelay: Int? = null, ajaxProgressiveLoadScrollMargin: Int? = null, ajaxLoader: Boolean? = null, ajaxLoaderLoading: String? = null, ajaxLoaderError: String? = null, initialSort: List<Tabulator.Sorter>? = null, sortOrderReverse: Boolean? = null, initialFilter: List<Tabulator.Filter>? = null, initialHeaderFilter: List<Any?>? = null, pagination: PaginationMode? = null, paginationSize: Int? = null, paginationSizeSelector: Boolean? = null, paginationElement: dynamic = null, paginationDataReceived: dynamic = null, paginationDataSent: dynamic = null, paginationAddRow: AddRowMode? = null, paginationButtonCount: Int? = null, persistenceID: String? = null, persistenceMode: Boolean? = null, persistentLayout: Boolean? = null, persistentSort: Boolean? = null, persistentFilter: Boolean? = null, locale: String? = null, langs: dynamic = null, localized: ((locale: String, dynamic) -> Unit)? = null, headerVisible: Boolean? = null, htmlOutputConfig: dynamic = null, printAsHtml: Boolean? = null, printConfig: dynamic = null, printCopyStyle: Boolean? = null, printVisibleRows: Boolean? = null, printHeader: String? = null, printFooter: String? = null, printFormatter: ((dynamic, dynamic) -> Unit)? = null, tabEndNewRow: dynamic = null, headerSort: Boolean? = null, headerSortTristate: Boolean? = null, invalidOptionWarnings: Boolean? = null, dataTree: Boolean? = null, dataTreeChildField: String? = null, dataTreeCollapseElement: dynamic = null, dataTreeExpandElement: dynamic = null, dataTreeElementColumn: String? = null, dataTreeBranchElement: dynamic = null, dataTreeChildIndent: Number? = null, dataTreeStartExpanded: ((row: Tabulator.RowComponent, level: Number) -> Boolean)? = null, dataTreeRowExpanded: ((row: Tabulator.RowComponent, level: Number) -> Unit)? = null, dataTreeRowCollapsed: ((row: Tabulator.RowComponent, level: Number) -> Unit)? = null, movableRowsSendingStart: ((toTables: Array<Any>) -> Unit)? = null, movableRowsSent: ((fromRow: Tabulator.RowComponent, toRow: Tabulator.RowComponent, toTable: Tabulator) -> Unit)? = null, movableRowsSentFailed: ((fromRow: Tabulator.RowComponent, toRow: Tabulator.RowComponent, toTable: Tabulator) -> Unit)? = null, movableRowsSendingStop: ((toTables: Array<Any>) -> Unit)? = null, movableRowsReceivingStart: ((fromRow: Tabulator.RowComponent, toTable: Tabulator) -> Unit)? = null, movableRowsReceived: ((fromRow: Tabulator.RowComponent, toRow: Tabulator.RowComponent, fromTable: Tabulator) -> Unit)? = null, movableRowsReceivedFailed: ((fromRow: Tabulator.RowComponent, toRow: Tabulator.RowComponent, fromTable: Tabulator) -> Unit)? = null, movableRowsReceivingStop: ((fromTable: Tabulator) -> Unit)? = null, rowClick: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowDblClick: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowContext: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowTap: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowDblTap: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowTapHold: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowMouseEnter: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowMouseLeave: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowMouseOver: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowMouseOut: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowMouseMove: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowAdded: ((row: Tabulator.RowComponent) -> Unit)? = null, rowUpdated: ((row: Tabulator.RowComponent) -> Unit)? = null, rowDeleted: ((row: Tabulator.RowComponent) -> Unit)? = null, rowMoved: ((row: Tabulator.RowComponent) -> Unit)? = null, rowResized: ((row: Tabulator.RowComponent) -> Unit)? = null, rowSelectionChanged: ((data: Array<Any>, rows: Array<Tabulator.RowComponent>) -> Unit)? = null, rowSelected: ((row: Tabulator.RowComponent) -> Unit)? = null, rowDeselected: ((row: Tabulator.RowComponent) -> Unit)? = null, cellClick: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellDblClick: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellContext: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellTap: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellDblTap: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellTapHold: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellMouseEnter: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellMouseLeave: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellMouseOver: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellMouseOut: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellMouseMove: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellEditing: ((cell: Tabulator.CellComponent) -> Unit)? = null, cellEdited: ((cell: Tabulator.CellComponent) -> Unit)? = null, cellEditCancelled: ((cell: Tabulator.CellComponent) -> Unit)? = null, columnMoved: ((column: Tabulator.ColumnComponent, columns: Array<dynamic>) -> Unit)? = null, columnResized: ((column: Tabulator.ColumnComponent) -> Unit)? = null, columnVisibilityChanged: ((column: Tabulator.ColumnComponent, visible: Boolean) -> Unit)? = null, columnTitleChanged: ((column: Tabulator.ColumnComponent) -> Unit)? = null, tableBuilding: (() -> Unit)? = null, tableBuilt: (() -> Unit)? = null, renderStarted: (() -> Unit)? = null, renderComplete: (() -> Unit)? = null, htmlImporting: (() -> Unit)? = null, htmlImported: (() -> Unit)? = null, dataLoading: ((data: List<T>) -> Unit)? = null, dataLoaded: ((data: List<T>) -> Unit)? = null, dataEdited: ((data: List<T>) -> Unit)? = null, pageLoaded: ((pageno: Int) -> Unit)? = null, dataSorting: ((sorters: Array<Tabulator.Sorter>) -> Unit)? = null, dataSorted: ((sorters: Array<Tabulator.Sorter>, rows: Array<Tabulator.RowComponent>) -> Unit)? = null, dataFiltering: ((filters: Array<Tabulator.Filter>) -> Unit)? = null, dataFiltered: ((filters: Array<Tabulator.Filter>, rows: Array<Tabulator.RowComponent>) -> Unit)? = null, validationFailed: ((cell: Tabulator.CellComponent, value: Any, dynamic) -> Unit)? = null, ajaxRequesting: ((url: String, dynamic) -> Boolean)? = null, ajaxResponse: ((url: String, dynamic, dynamic) -> Any)? = null, ajaxError: ((dynamic, textStatus: String, dynamic) -> Unit)? = null)
val addRowPos: RowPos?
val ajaxConfig: dynamic
val ajaxContentType: dynamic
var ajaxError: ((dynamic, textStatus: String, dynamic) -> Unit)?
val ajaxFiltering: Boolean?
val ajaxLoader: Boolean?
val ajaxLoaderError: String?
val ajaxLoaderLoading: String?
val ajaxParams: dynamic
val ajaxProgressiveLoad: ProgressiveMode?
val ajaxProgressiveLoadDelay: Int?
val ajaxProgressiveLoadScrollMargin: Int?
var ajaxRequestFunc: ((url: String, dynamic, dynamic) -> Promise<Any>)?
var ajaxRequesting: ((url: String, dynamic) -> Boolean)?
var ajaxResponse: ((url: String, dynamic, dynamic) -> Any)?
val ajaxSorting: Boolean?
var ajaxURL: String?
val ajaxURLGenerator: ((url: String, dynamic, dynamic) -> String)?
val autoColumns: Boolean?
val autoResize: Boolean?
var cellClick: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
var cellContext: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
var cellDblClick: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
var cellDblTap: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
var cellEditCancelled: ((cell: Tabulator.CellComponent) -> Unit)?
var cellEdited: ((cell: Tabulator.CellComponent) -> Unit)?
var cellEditing: ((cell: Tabulator.CellComponent) -> Unit)?
var cellMouseEnter: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
var cellMouseLeave: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
var cellMouseMove: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
var cellMouseOut: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
var cellMouseOver: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
var cellTap: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
var cellTapHold: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
val columnMinWidth: Int?
var columnMoved: ((column: Tabulator.ColumnComponent, columns: Array<dynamic>) -> Unit)?
var columnResized: ((column: Tabulator.ColumnComponent) -> Unit)?
val columns: List<ColumnDefinition<T>>?
var columnTitleChanged: ((column: Tabulator.ColumnComponent) -> Unit)?
var columnVisibilityChanged: ((column: Tabulator.ColumnComponent, visible: Boolean) -> Unit)?
var data: Array<T>?
var dataEdited: ((data: List<T>) -> Unit)?
var dataFiltered: ((filters: Array<Tabulator.Filter>, rows: Array<Tabulator.RowComponent>) -> Unit)?
var dataFiltering: ((filters: Array<Tabulator.Filter>) -> Unit)?
var dataLoaded: ((data: List<T>) -> Unit)?
var dataLoading: ((data: List<T>) -> Unit)?
var dataSorted: ((sorters: Array<Tabulator.Sorter>, rows: Array<Tabulator.RowComponent>) -> Unit)?
var dataSorting: ((sorters: Array<Tabulator.Sorter>) -> Unit)?
val dataTree: Boolean?
val dataTreeBranchElement: dynamic
val dataTreeChildField: String?
val dataTreeChildIndent: Number?
val dataTreeCollapseElement: dynamic
val dataTreeElementColumn: String?
val dataTreeExpandElement: dynamic
val dataTreeRowCollapsed: ((row: Tabulator.RowComponent, level: Number) -> Unit)?
val dataTreeRowExpanded: ((row: Tabulator.RowComponent, level: Number) -> Unit)?
val dataTreeStartExpanded: ((row: Tabulator.RowComponent, level: Number) -> Boolean)?
val downloadConfig: DownloadConfig?
val downloadDataFormatter: dynamic
val footerElement: String?
val headerFilterPlaceholder: String?
val headerSort: Boolean?
val headerSortTristate: Boolean?
val headerVisible: Boolean?
val height: String?
val history: Boolean?
var htmlImported: (() -> Unit)?
var htmlImporting: (() -> Unit)?
val htmlOutputConfig: dynamic
val index: String?
val initialFilter: List<Tabulator.Filter>?
val initialHeaderFilter: List<Any?>?
val initialSort: List<Tabulator.Sorter>?
val invalidOptionWarnings: Boolean?
val keybindings: dynamic
var langs: dynamic
val layout: Layout?
val layoutColumnsOnNewData: Boolean?
val locale: String?
val localized: ((locale: String, dynamic) -> Unit)?
val movableColumns: Boolean?
val movableRows: Boolean?
val movableRowsConnectedTables: dynamic
val movableRowsReceived: ((fromRow: Tabulator.RowComponent, toRow: Tabulator.RowComponent, fromTable: Tabulator) -> Unit)?
val movableRowsReceivedFailed: ((fromRow: Tabulator.RowComponent, toRow: Tabulator.RowComponent, fromTable: Tabulator) -> Unit)?
val movableRowsReceiver: dynamic
val movableRowsReceivingStart: ((fromRow: Tabulator.RowComponent, toTable: Tabulator) -> Unit)?
val movableRowsReceivingStop: ((fromTable: Tabulator) -> Unit)?
val movableRowsSender: dynamic
val movableRowsSendingStart: ((toTables: Array<Any>) -> Unit)?
val movableRowsSendingStop: ((toTables: Array<Any>) -> Unit)?
val movableRowsSent: ((fromRow: Tabulator.RowComponent, toRow: Tabulator.RowComponent, toTable: Tabulator) -> Unit)?
val movableRowsSentFailed: ((fromRow: Tabulator.RowComponent, toRow: Tabulator.RowComponent, toTable: Tabulator) -> Unit)?
var pageLoaded: ((pageno: Int) -> Unit)?
val pagination: PaginationMode?
val paginationAddRow: AddRowMode?
val paginationButtonCount: Int?
val paginationDataReceived: dynamic
val paginationDataSent: dynamic
val paginationElement: dynamic
val paginationSize: Int?
val paginationSizeSelector: Boolean?
var persistenceID: String?
var persistenceMode: Boolean?
var persistentFilter: Boolean?
var persistentLayout: Boolean?
var persistentSort: Boolean?
val placeholder: String?
val printAsHtml: Boolean?
val printConfig: dynamic
val printCopyStyle: Boolean?
val printFooter: String?
val printFormatter: ((dynamic, dynamic) -> Unit)?
val printHeader: String?
val printVisibleRows: Boolean?
val reactiveData: Boolean?
var renderComplete: (() -> Unit)?
var renderStarted: (() -> Unit)?
val resizableColumns: Boolean?
val resizableRows: Boolean?
val responsiveLayout: ResponsiveLayout?
val responsiveLayoutCollapseStartOpen: Boolean?
val responsiveLayoutCollapseUseFormatters: Boolean?
var rowAdded: ((row: Tabulator.RowComponent) -> Unit)?
var rowClick: ((dynamic, row: Tabulator.RowComponent) -> Unit)?
var rowContext: ((dynamic, row: Tabulator.RowComponent) -> Unit)?
var rowDblClick: ((dynamic, row: Tabulator.RowComponent) -> Unit)?
var rowDblTap: ((dynamic, row: Tabulator.RowComponent) -> Unit)?
var rowDeleted: ((row: Tabulator.RowComponent) -> Unit)?
var rowDeselected: ((row: Tabulator.RowComponent) -> Unit)?
val rowFormatter: ((row: Tabulator.RowComponent) -> Unit)?
var rowMouseEnter: ((dynamic, row: Tabulator.RowComponent) -> Unit)?
var rowMouseLeave: ((dynamic, row: Tabulator.RowComponent) -> Unit)?
var rowMouseMove: ((dynamic, row: Tabulator.RowComponent) -> Unit)?
var rowMouseOut: ((dynamic, row: Tabulator.RowComponent) -> Unit)?
var rowMouseOver: ((dynamic, row: Tabulator.RowComponent) -> Unit)?
var rowMoved: ((row: Tabulator.RowComponent) -> Unit)?
var rowResized: ((row: Tabulator.RowComponent) -> Unit)?
var rowSelected: ((row: Tabulator.RowComponent) -> Unit)?
var rowSelectionChanged: ((data: Array<Any>, rows: Array<Tabulator.RowComponent>) -> Unit)?
var rowTap: ((dynamic, row: Tabulator.RowComponent) -> Unit)?
var rowTapHold: ((dynamic, row: Tabulator.RowComponent) -> Unit)?
var rowUpdated: ((row: Tabulator.RowComponent) -> Unit)?
val scrollToColumnIfVisible: Boolean?
val scrollToColumnPosition: ColumnPosition?
val scrollToRowIfVisible: Boolean?
val scrollToRowPosition: RowPosition?
val selectable: dynamic
val selectableCheck: ((row: Tabulator.RowComponent) -> Boolean)?
val selectablePersistence: Boolean?
val selectableRangeMode: RangeMode?
val selectableRollingSelection: Boolean?
val sortOrderReverse: Boolean?
val tabEndNewRow: dynamic
var tableBuilding: (() -> Unit)?
var tableBuilt: (() -> Unit)?
val tooltipGenerationMode: TooltipGenerationMode?
val tooltips: ((cell: Tabulator.CellComponent) -> String)?
val tooltipsHeader: Boolean?
var validationFailed: ((cell: Tabulator.CellComponent, value: Any, dynamic) -> Unit)?
val virtualDom: Boolean?
val virtualDomBuffer: Int?
open class TabulatorRemote<T : Any, E : Any> : Tabulator<T>
enum class TAG
open class Tag : SimplePanel, Template
external interface Task
interface Template
open class Text : AbstractText
enum class TextAlign
open class TextArea : AbstractText
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
enum class TheadType
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)?
enum class TooltipGenerationMode
data class TooltipOptions
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
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
actual typealias Transient = Transient
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
open class Typeahead : AbstractText
open class TypeaheadInput : TextInput
open class TypeaheadRemote<T : Any> : AbstractText
Module Contents
TypeaheadRemote(serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?) -> List<String>, stateFunction: (() -> String)? = null, items: Int? = 8, minLength: Int = 1, delay: Int = 0, type: TextInputType = TextInputType.TEXT, value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false)
var autocomplete: Boolean?
var autoSelect: Boolean
var delay: TaAjaxOptions?
var fitToElement: Boolean
val input: TypeaheadRemoteInput<T>
var items: Int?
var minLength: Int
var showHintOnFocus: ShowHintOnFocus
var type: TextInputType
open class TypeaheadRemoteInput<T : Any> : TypeaheadInput
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
external interface UploadRawData
enum class ValidationStatus
enum class Validator
external interface Versions
enum class VerticalAlign
object Vibration
external interface VoidCallback
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, Component
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, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, 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?
open fun close(): Unit
var closeButton: Boolean
var contentHeight: CssSize?
var contentOverflow: Overflow?
var contentWidth: CssSize?
open fun focus(): Unit
open fun getChildren(): List<Component>
var icon: String?
var isDraggable: Boolean
var isResizable: Boolean
var maximizeButton: Boolean
var minimizeButton: Boolean
open fun remove(child: Component): SimplePanel
open fun removeAll(): SimplePanel
open fun toFront(): Unit
open fun toggleMaximize(): Unit
open fun toggleMinimize(): Unit
interface WithPrincipal
interface WithProfile
interface WithRequest
interface WithWebSession
interface WithWebSocketSession
enum class WordBreak
package pl.treksoft.kvision
package pl.treksoft.kvision.annotations
package pl.treksoft.kvision.chart
Module Contents
data class AnimationOptions
data class ArcOptions
open class Chart : Widget
fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String> = setOf(), init: (Chart.() -> Unit)? = null): Chart
data class ChartOptions
Module Contents
ChartOptions(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: ((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, plugins: dynamic = 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: ((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 plugins: dynamic
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 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 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 ChartOptions.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
open var options: Chart.ChartOptions
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.cordova
Module Contents
fun addCordovaEventListener(event: CordovaEvent, listener: (Event) -> Unit): Unit
fun addDeviceReadyListener(listener: (Device) -> Unit): Unit
fun addPauseListener(listener: () -> Unit): Unit
fun addResumeListener(listener: (ResumeEvent) -> Unit): Unit
fun <V : Any, E> Result<V, E>.any(predicate: (V) -> Boolean): Boolean
suspend fun FileEntry.append(data: <ERROR CLASS>): Result<FileEntry, FileException>
suspend fun FileEntry.append(data: String): Result<FileEntry, FileException>
object Battery
external class BatteryStatus
external class Browser
object Camera
class CameraException : Exception
data class CameraOptions
Module Contents
CameraOptions(quality: Int? = null, destinationType: Camera.DestinationType? = null, sourceType: Camera.PictureSourceType? = null, allowEdit: Boolean? = null, encodingType: Camera.EncodingType? = null, targetWidth: Int? = null, targetHeight: Int? = null, mediaType: Camera.MediaType? = null, correctOrientation: Boolean? = null, saveToPhotoAlbum: Boolean? = null, popoverOptions: Camera.CameraPopoverOptions? = null, cameraDirection: Camera.Direction? = null)
val allowEdit: Boolean?
val cameraDirection: Camera.Direction?
val correctOrientation: Boolean?
val destinationType: Camera.DestinationType?
val encodingType: Camera.EncodingType?
val mediaType: Camera.MediaType?
val popoverOptions: Camera.CameraPopoverOptions?
val quality: Int?
val saveToPhotoAlbum: Boolean?
val sourceType: Camera.PictureSourceType?
val targetHeight: Int?
val targetWidth: Int?
class CaptureException : Exception
external class Coordinates
suspend fun Entry.copyTo(parent: DirectoryEntry, newName: String? = null): Result<Entry, FileException>
var cordovaDevice: Device?
enum class CordovaEvent
suspend fun FileEntry.createWriter(): Result<FileWriter, FileException>
external class Device
external interface DirectoryEntry : Entry
external interface DirectoryEntryCallback
external interface DirectoryEntrySync : EntrySync
external interface DirectoryReader
external interface DirectoryReaderSync
external interface EntriesCallback
external interface Entry
external interface EntryCallback
external interface EntrySync
external interface ErrorCallback
inline fun <E> Result<*, E>.failure(f: (E) -> Unit): Unit
fun <V : Any, U : Any> Result<V, *>.fanout(other: () -> Result<U, *>): Result<Pair<V, U>, *>
object File
suspend fun FileEntry.file(): Result<File, FileException>
external interface FileCallback
external interface FileEntry : Entry
external interface FileEntryCallback
external interface FileEntrySync : EntrySync
class FileException : Exception
external interface FileSaver : EventTarget
external interface FileSystem
external interface FileSystemCallback
external interface FileSystemSync
external interface FileWriter : FileSaver
external interface FileWriterCallback
external interface FileWriterSync
external interface Flags
inline fun <V : Any, U : Any, E> Result<V, E>.flatMap(transform: (V) -> Result<U, E>): Result<U, E>
fun <V : Any, E, E2> Result<V, E>.flatMapError(transform: (E) -> Result<V, E2>): Result<V, E2>
object Geolocation
class GeolocationException : Exception
inline fun <reified X> Result<*, *>.getAs(): X?
suspend fun Media.getCurrentAmplitude(): Number
suspend fun Media.getCurrentPosition(): Number
suspend fun getDevice(): Device
suspend fun DirectoryEntry.getDirectory(path: String, create: Boolean = true, exclusive: Boolean = false): Result<DirectoryEntry, FileException>
suspend fun DirectoryEntry.getFile(path: String, create: Boolean = true, exclusive: Boolean = false): Result<FileEntry, FileException>
suspend fun MediaFile.getFormatData(): MediaFileData?
suspend fun Entry.getMetadata(): Result<Metadata, FileException>
infix fun <V : Any, E> Result<V, E>.getOrElse(fallback: V): V
suspend fun Entry.getParent(): Result<DirectoryEntry, FileException>
object InAppBrowser
external class InAppBrowserEvent
inline operator fun FileSystemCallback.invoke(filesystem: FileSystem): Unit
inline operator fun EntryCallback.invoke(entry: Entry): Unit
inline operator fun FileEntryCallback.invoke(entry: FileEntry): Unit
inline operator fun DirectoryEntryCallback.invoke(entry: DirectoryEntry): Unit
inline operator fun EntriesCallback.invoke(entries: Array<Entry>): Unit
inline operator fun MetadataCallback.invoke(metadata: Metadata): Unit
inline operator fun FileWriterCallback.invoke(fileWriter: FileWriter): Unit
inline operator fun FileCallback.invoke(file: File): Unit
inline operator fun VoidCallback.invoke(): Unit
inline operator fun ErrorCallback.invoke(err: Error): Unit
kotlin.String
external object LocalFileSystem
external object LocalFileSystemSync
object Locationservices
Module Contents
fun clearWatch(watchId: String): Unit
suspend fun getCurrentPosition(enableHighAccuracy: Boolean = true, timeout: Number? = null, maximumAge: Number? = null, priority: Locationservices.Priority? = null, interval: Number? = null, fastInterval: Number? = null): Result<Position, GeolocationException>
enum class Priority
suspend fun watchPosition(enableHighAccuracy: Boolean = true, timeout: Number? = null, maximumAge: Number? = null, priority: Locationservices.Priority? = null, interval: Number? = null, fastInterval: Number? = null, resultCallback: (Result<Position, GeolocationException>) -> Unit): String?
inline fun <V : Any, U : Any, E> Result<V, E>.map(transform: (V) -> U): Result<U, E>
fun <V : Any, E, E2> Result<V, E>.mapError(transform: (E) -> E2): Result<V, E2>
external class Media
object MediaCapture
external class MediaError
external class MediaFile
external class MediaFileData
external interface Metadata
external interface MetadataCallback
suspend fun Entry.moveTo(parent: DirectoryEntry, newName: String? = null): Result<Entry, FileException>
object Network
object Notification
Module Contents
fun alert(message: String, title: String? = null, buttonLabel: String? = null, callback: () -> Unit): Unit
fun beep(times: Int = 1): Unit
fun confirm(message: String, title: String? = null, buttonLabels: List<String>? = null, callback: (Int) -> Unit): Unit
fun prompt(message: String, title: String? = null, buttonLabels: List<String>? = null, defaultText: String? = null, callback: (PromptResponse) -> Unit): Unit
infix fun <V : Any, E> Result<V, E>.or(fallback: V): Result.Success<V>
external class PendingResult
external class Position
enum class PositionError
external class PromptResponse
suspend fun FileEntry.readAsArrayBuffer(): Result<<ERROR CLASS>, FileException>
suspend fun FileEntry.readAsDataURL(): Result<String, FileException>
suspend fun FileEntry.readAsText(): Result<String, FileException>
suspend fun DirectoryReader.readEntries(): Result<List<Entry>, FileException>
suspend fun DirectoryEntry.readEntries(): Result<List<Entry>, FileException>
suspend fun Entry.remove(): Result<Entry, FileException>
suspend fun DirectoryEntry.removeRecursively(): Result<DirectoryEntry, FileException>
sealed class Result<out V : Any, out E>
external class ResumeEvent
object Screen
object Splashscreen
object StatusBar
inline fun <V : Any> Result<V, *>.success(f: (V) -> Unit): Unit
external class SystemDirs
fun <ERROR CLASS>.toBlob(): <ERROR CLASS>
object Vibration
external interface VoidCallback
suspend fun FileEntry.write(data: <ERROR CLASS>): Result<FileEntry, FileException>
suspend fun FileEntry.write(data: String): Result<FileEntry, FileException>
suspend fun FileEntry.writeDataUrL(dataUrl: String): Result<FileEntry, FileException>
package pl.treksoft.kvision.core
Module Contents
fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit
fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit
fun Component.addBsClearfix(): Unit
fun Component.addBsColor(bsColor: BsColor): Unit
fun Component.addBsRounded(vararg bsRounded: BsRounded): 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)
fun toString(): String
enum class BgAttach
enum class BgClip
enum class BgOrigin
enum class BgRepeat
enum class BgSize
class Border
enum class BorderStyle
enum class BsBgColor
enum class BsBorder
enum class BsColor
enum class BsRounded
enum class Clear
enum class Col
class Color
interface Component
interface Container : Component
typealias CssSize = Pair<Number, UNIT>
enum class Direction
enum class Display
enum class FontStyle
enum class FontVariant
enum class FontWeight
enum class LineBreak
inline fun <reified T : Widget> T.onEvent(noinline block: SnOn<T>.() -> Unit): Widget
enum class Overflow
enum class OverflowWrap
enum class Placement
data class PopoverOptions
enum class PosFloat
enum class Position
fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit
fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit
fun Component.removeBsClearfix(): Unit
fun Component.removeBsColor(bsColor: BsColor): Unit
fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit
enum class Resize
typealias ResString = String
typealias StringBoolPair = Pair<String, Boolean>
typealias StringPair = Pair<String, String>
open class Style : StyledComponent
fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style
fun Style.style(className: String? = null, init: (Style.() -> Unit)? = null): Style
abstract class StyledComponent
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, Component
fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget
open class WidgetWrapper : SimplePanel
fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper
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: MutableList<M>, factory: Container.(M, Int, MutableList<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 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
fun <M, C : Component, CONT : Container> Container.dataContainer(model: MutableList<M>, factory: Container.(M, Int, MutableList<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: MutableList<M>, factory: Container.(M, Int, MutableList<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>
interface DataUpdatable
enum class SorterType
package pl.treksoft.kvision.dropdown
Module Contents
fun ContextMenu.cmLink(: String, : String? = null, : String? = null, : ResString? = null, : Set<String> = setOf(), : (Link.() -> Unit)? = null): Link
fun ContextMenu.cmLinkDisabled(: String, : String? = null, : ResString? = null, : Set<String> = setOf(), : (Link.() -> Unit)? = null): Link
open class ContextMenu : Div
fun Widget.contextMenu(: Boolean = false, : Set<String> = setOf(), : (ContextMenu.() -> Unit)? = null): ContextMenu
enum class DD
fun DropDown.ddLink(label: String, url: String? = null, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf(), init: (Link.() -> Unit)? = null): Link
fun DropDown.ddLinkDisabled(label: String, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf(), init: (Link.() -> Unit)? = null): Link
enum class Direction
open class DropDown : SimplePanel
fun Container.dropDown(text: String, elements: List<StringPair>? = null, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, direction: Direction = Direction.DROPDOWN, disabled: Boolean = false, forNavbar: Boolean = false, forDropDown: Boolean = false, classes: Set<String> = setOf(), init: (DropDown.() -> Unit)? = null): DropDown
open class Header : Tag
fun ContextMenu.header(: String? = null, : Set<String> = setOf()): Header
fun DropDown.header(: String? = null, : Set<String> = setOf()): Header
open class Separator : Div
fun ContextMenu.separator(: Set<String> = setOf()): Separator
fun DropDown.separator(classes: Set<String> = setOf()): Separator
fun Widget.setContextMenu(: ContextMenu): Widget
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
fun Container.fieldLabel(forId: String, content: String? = null, rich: Boolean = false, classes: Set<String> = setOf("control-label"), init: (FieldLabel.() -> Unit)? = null): FieldLabel
class Form<K : Any>
Module Contents
Form(panel: FormPanel<K>? = null, serializer: KSerializer<K>, customSerializers: Map<KClass<*>, KSerializer<*>>? = null)
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 <C : StringFormControl> addCustom(key: KProperty1<K, Any?>, 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, customSerializers: Map<KClass<*>, KSerializer<*>>? = 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
enum class FormHorizontalRatio
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, condensed: Boolean = false, horizRatio: FormHorizontalRatio = FormHorizontalRatio.RATIO_2, classes: Set<String> = setOf(), serializer: KSerializer<K>, customSerializers: Map<KClass<*>, KSerializer<*>>? = null)
var action: String?
open fun <C : StringFormControl> add(key: KProperty1<K, String?>, control: C, required: Boolean = false, requiredMessage: String? = null, legend: 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, legend: 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, legend: 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, legend: 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, legend: String? = null, validatorMessage: ((C) -> String?)? = null, validator: ((C) -> Boolean?)? = null): FormPanel<K>
open fun <C : StringFormControl> addCustom(key: KProperty1<K, Any?>, control: C, required: Boolean = false, requiredMessage: String? = null, legend: 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, legend: String? = null, validatorMessage: ((C) -> String?)? = null, validator: ((C) -> Boolean?)? = null): FormPanel<K>
var autocomplete: Boolean?
open fun clearData(): Unit
var condensed: Boolean
inline fun <reified K : Any> create(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, horizRatio: FormHorizontalRatio = FormHorizontalRatio.RATIO_2, classes: Set<String> = setOf(), customSerializers: Map<KClass<*>, KSerializer<*>>? = null, noinline init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K>
var enctype: FormEnctype?
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 horizRatio: FormHorizontalRatio
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?)?
inline fun <reified K : Any> Container.formPanel(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, horizRatio: FormHorizontalRatio = FormHorizontalRatio.RATIO_2, classes: Set<String> = setOf(), customSerializers: Map<KClass<*>, KSerializer<*>>? = null, noinline init: (FormPanel<K>.() -> Unit)? = null): FormPanel<K>
enum class FormTarget
enum class FormType
open class HelpText : Tag
enum class InputSize
open class InvalidFeedback : Tag
interface KFilesFormControl : FormControl
kotlin.collections.Map
kotlin.js.Json
interface NumberFormControl : FormControl
interface StringFormControl : FormControl
enum class ValidationStatus
package pl.treksoft.kvision.form.check
Module Contents
open class CheckBox : SimplePanel, BoolFormControl
fun Container.checkBox(value: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (CheckBox.() -> Unit)? = null): CheckBox
open class CheckBoxInput : CheckInput
fun Container.checkBoxInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): CheckBoxInput
enum class CheckBoxStyle
abstract class CheckInput : Widget, FormInput
enum class CheckInputType
open class Radio : SimplePanel, BoolFormControl
fun Container.radio(value: Boolean = false, : String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Radio.() -> Unit)? = null): Radio
open class RadioGroup : SimplePanel, StringFormControl
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
open class RadioGroupInput : SimplePanel, FormInput
fun Container.radioGroupInput(options: List<StringPair>? = null, value: String? = null, name: String? = null, inline: Boolean = false, init: (RadioGroupInput.() -> Unit)? = null): RadioGroupInput
open class RadioInput : CheckInput
fun Container.radioInput(value: Boolean = false, classes: Set<String> = setOf(), init: (CheckInput.() -> Unit)? = null): RadioInput
enum class RadioStyle
package pl.treksoft.kvision.form.range
Module Contents
open class Range : SimplePanel, NumberFormControl
fun Container.range(value: Number? = null, name: String? = null, min: Number = 0, max: Number = 100, step: Number = DEFAULT_STEP, label: String? = null, rich: Boolean = false, init: (Range.() -> Unit)? = null): Range
open class RangeInput : Widget, FormInput
fun Container.rangeInput(value: Number? = null, min: Number = 0, max: Number = 100, step: Number = DEFAULT_STEP, classes: Set<String> = setOf(), init: (RangeInput.() -> Unit)? = null): RangeInput
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 Select : SimplePanel, StringFormControl
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
enum class SelectDropdownAlign
open class SelectInput : SimplePanel, FormInput
fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String> = setOf(), init: (SelectInput.() -> Unit)? = null): SelectInput
open class SelectOptGroup : SimplePanel
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
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
open class SelectRemote<T : Any> : SimplePanel, StringFormControl
Module Contents
SelectRemote(serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, value: String? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, preload: Boolean = false, 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 dropdownAlign: SelectDropdownAlign
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: SelectRemoteInput<T>
val invalidFeedback: InvalidFeedback
var label: String?
var maxOptions: Int?
var multiple: Boolean
var placeholder: String?
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
open var value: String?
fun <T : Any> Container.selectRemote(serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, value: String? = null, name: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, preload: Boolean = false, label: String? = null, rich: Boolean = false, init: (SelectRemote<T>.() -> Unit)? = null): SelectRemote<T>
open class SelectRemoteInput<T : Any> : SelectInput
fun <T : Any> Container.selectRemoteInput(serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<<ERROR CLASS>>, stateFunction: (() -> String)? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, preload: Boolean = false, classes: Set<String> = setOf(), init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T>
enum class SelectWidthType
open class SimpleSelect : SimplePanel, StringFormControl
fun Container.simpleSelect(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, name: String? = null, label: String? = null, rich: Boolean = false, init: (SimpleSelect.() -> Unit)? = null): SimpleSelect
open class SimpleSelectInput : SimplePanel, FormInput
fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String> = setOf(), init: (SimpleSelectInput.() -> Unit)? = null): SimpleSelectInput
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: Number? = null, max: Number? = null, step: Number = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false)
var autofocus: Boolean?
open fun blur(): Unit
var buttonStyle: ButtonStyle?
val 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
val invalidFeedback: InvalidFeedback
var label: String?
var max: Number?
var min: Number?
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
open fun spinUp(): Spinner
var startValue: Number?
var step: Number
open fun styleForHorizontalFormPanel(horizontalRatio: FormHorizontalRatio): Unit
open var validatorError: String?
open var value: Number?
fun Container.spinner(value: Number? = null, name: String? = null, min: Number? = null, max: Number? = null, step: Number = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, label: String? = null, rich: Boolean = false, init: (Spinner.() -> Unit)? = null): Spinner
open class SpinnerInput : Widget, FormInput
fun Container.spinnerInput(value: Number? = null, min: Number? = null, max: Number? = null, step: Number = DEFAULT_STEP, decimals: Int = 0, buttonsType: ButtonsType = ButtonsType.VERTICAL, forceType: ForceType = ForceType.NONE, buttonStyle: ButtonStyle? = null, classes: Set<String> = setOf(), init: (SpinnerInput.() -> Unit)? = null): SpinnerInput
package pl.treksoft.kvision.form.text
Module Contents
abstract class AbstractText : SimplePanel, StringFormControl
abstract class AbstractTextInput : Widget, FormInput
enum class DataType
enum class HttpType
open class Password : Text
fun Container.password(value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Password.() -> Unit)? = null): Password
open class RichText : AbstractText
fun Container.richText(value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (RichText.() -> Unit)? = null): RichText
open class RichTextInput : AbstractTextInput
fun Container.richTextInput(value: String? = null, classes: Set<String> = setOf(), init: (RichTextInput.() -> Unit)? = null): RichTextInput
enum class ShowHintOnFocus
data class TaAjaxOptions
open class Text : AbstractText
fun Container.text(type: TextInputType = TextInputType.TEXT, value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Text.() -> Unit)? = null): Text
open class TextArea : AbstractText
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
open class TextAreaInput : AbstractTextInput
fun Container.textAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf(), init: (TextAreaInput.() -> Unit)? = null): TextAreaInput
open class TextInput : AbstractTextInput
fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TextInput.() -> Unit)? = null): TextInput
enum class TextInputType
open class Typeahead : AbstractText
fun Container.typeahead(options: List<String>? = null, taAjaxOptions: TaAjaxOptions? = null, items: Int? = 8, minLength: Int = 1, delay: Int = 0, type: TextInputType = TextInputType.TEXT, value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (Typeahead.() -> Unit)? = null): Typeahead
open class TypeaheadInput : TextInput
fun Container.typeaheadInput(options: List<String>? = null, taAjaxOptions: TaAjaxOptions? = null, items: Int? = 8, minLength: Int = 1, delay: Int = 0, type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TypeaheadInput.() -> Unit)? = null): TypeaheadInput
open class TypeaheadRemote<T : Any> : AbstractText
Module Contents
TypeaheadRemote(serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?) -> List<String>, stateFunction: (() -> String)? = null, items: Int? = 8, minLength: Int = 1, delay: Int = 0, type: TextInputType = TextInputType.TEXT, value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false)
var autocomplete: Boolean?
var autoSelect: Boolean
var delay: TaAjaxOptions?
var fitToElement: Boolean
val input: TypeaheadRemoteInput<T>
var items: Int?
var minLength: Int
var showHintOnFocus: ShowHintOnFocus
var type: TextInputType
fun <T : Any> Container.typeaheadRemote(serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?) -> List<String>, stateFunction: (() -> String)? = null, items: Int? = 8, minLength: Int = 1, delay: Int = 0, type: TextInputType = TextInputType.TEXT, value: String? = null, name: String? = null, label: String? = null, rich: Boolean = false, init: (TypeaheadRemote<T>.() -> Unit)? = null): TypeaheadRemote<T>
open class TypeaheadRemoteInput<T : Any> : TypeaheadInput
fun <T : Any> Container.typeaheadRemoteInput(serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?) -> List<String>, stateFunction: (() -> String)? = null, items: Int? = 8, minLength: Int = 1, delay: Int = 0, type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String> = setOf(), init: (TypeaheadRemoteInput<T>.() -> Unit)? = null): TypeaheadRemoteInput<T>
package pl.treksoft.kvision.form.time
Module Contents
open class DateTime : SimplePanel, DateFormControl
fun Container.dateTime(value: Date? = null, name: String? = null, format: String = "YYYY-MM-DD HH:mm", label: String? = null, rich: Boolean = false, init: (DateTime.() -> Unit)? = null): DateTime
open class DateTimeInput : SimplePanel, FormInput
fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: (DateTimeInput.() -> Unit)? = null): DateTimeInput
package pl.treksoft.kvision.form.upload
Module Contents
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
open class Upload : SimplePanel, KFilesFormControl
fun Container.upload(uploadUrl: String? = null, multiple: Boolean = false, label: String? = null, rich: Boolean = false, init: (Upload.() -> Unit)? = null): Upload
open class UploadInput : Widget, FormInput
fun Container.uploadInput(uploadUrl: String? = null, multiple: Boolean = false, classes: Set<String> = setOf(), init: (UploadInput.() -> Unit)? = null): UploadInput
package pl.treksoft.kvision.html
Module Contents
enum class Align
open class Bold : Tag
fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold
open class Button : Widget
fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button
enum class ButtonSize
enum class ButtonStyle
enum class ButtonType
open class Canvas : Widget
fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas
open class Div : Tag
fun Container.div(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Div.() -> Unit)? = null): Div
open class Footer : Tag
fun Container.footer(: String? = null, : Boolean = false, : Align? = null, : Set<String> = setOf(), : (Footer.() -> Unit)? = null): Footer
open class H1 : Tag
fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H1.() -> Unit)? = null): H1
open class H2 : Tag
fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H2.() -> Unit)? = null): H2
open class H3 : Tag
fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H3.() -> Unit)? = null): H3
open class H4 : Tag
fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H4.() -> Unit)? = null): H4
open class H5 : Tag
fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H5.() -> Unit)? = null): H5
open class H6 : Tag
fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (H6.() -> Unit)? = null): H6
open class Header : Tag
fun Container.header(: String? = null, : Boolean = false, : Align? = null, : Set<String> = setOf(), : (Header.() -> Unit)? = null): Header
open class Icon : Tag
fun Container.icon(icon: String, init: (Icon.() -> Unit)? = null): Icon
open class Iframe : Widget
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
open class Image : Widget
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
enum class ImageShape
open class Link : SimplePanel
fun Container.link(label: String, url: String? = null, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf(), init: (Link.() -> Unit)? = null): Link
open class ListTag : SimplePanel
fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String> = setOf(), init: (ListTag.() -> Unit)? = null): ListTag
enum class ListType
open class Main : Tag
fun Container.main(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Main.() -> Unit)? = null): Main
open class P : Tag
fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (P.() -> Unit)? = null): P
enum class Sandbox
open class Section : Tag
fun Container.section(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Section.() -> Unit)? = null): Section
fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit
inline fun <reified K : Any> Template.setData(obj: K): Unit
open class Span : Tag
fun Container.span(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Span.() -> Unit)? = null): Span
enum class TAG
open class Tag : SimplePanel, Template
fun Container.tag(type: TAG, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag
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, centered: Boolean = false, 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, centered: Boolean = false, 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, centered: Boolean = false, 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, centered: Boolean = false, 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.moment
Module Contents
open external class Moment
Module Contents
Moment(dateArray: Array<dynamic>)
Moment(dateString: String, patter: String)
Moment(dateString: String)
Moment(date: Date)
Moment()
open fun add(duration: dynamic, key: String): dynamic
open fun calendar(): dynamic
open fun calendar(referenceTime: dynamic): dynamic
open fun calendar(referenceTime: dynamic, formats: dynamic): dynamic
open fun daysInMonth(): dynamic
open fun diff(moment: dynamic): dynamic
open fun diff(moment: dynamic, key: dynamic): dynamic
open fun diff(moment: dynamic, key: dynamic, floatingPoint: Boolean): dynamic
open fun endOf(key: String): dynamic
open fun format(pattern: String): dynamic
open fun format(): dynamic
open fun from(moment: dynamic): dynamic
open fun from(withoutSuffix: Boolean): dynamic
open fun fromNow(): dynamic
open fun fromNow(withoutSuffix: Boolean): dynamic
open fun inspect(): dynamic
open fun isAfter(moment: dynamic): Boolean
open fun isAfter(moment: dynamic, key: String): Boolean
open fun isBefore(moment: dynamic): Boolean
open fun isBefore(moment: dynamic, key: String): Boolean
open fun isBetween(firstMoment: dynamic, secondMoment: dynamic): Boolean
open fun isBetween(firstMoment: dynamic, secondMoment: dynamic, key: String, inclusivity: String): Boolean
open fun isBetween(firstMoment: dynamic, secondMoment: dynamic, key: String): Boolean
open fun isDST(): Boolean
open fun isDSTShifted(): Boolean
open fun isLeapYear(): Boolean
open fun isSame(moment: dynamic): Boolean
open fun isSame(moment: dynamic, key: String): Boolean
open fun isSameOrAfter(moment: dynamic): Boolean
open fun isSameOrAfter(moment: dynamic, key: String): Boolean
open fun isSameOrBefore(moment: dynamic): Boolean
open fun isSameOrBefore(moment: dynamic, key: String): Boolean
open fun lang(locale: String): dynamic
open fun lang(resetLocale: Boolean): dynamic
open fun local(): dynamic
open fun locale(locale: String): dynamic
open fun locale(resetLocale: Boolean): dynamic
open fun startOf(key: String): dynamic
open fun subtract(duration: dynamic, key: String): dynamic
open fun to(moment: dynamic): dynamic
open fun to(withoutPrefix: Boolean): dynamic
open fun toArray(): dynamic
open fun toDate(): dynamic
open fun toISOString(): dynamic
open fun toISOString(keepOffset: Boolean): dynamic
open fun toJSON(): dynamic
open fun toNow(): dynamic
open fun toNow(withoutPrefix: Boolean): dynamic
open fun toObject(): dynamic
open fun unix(): dynamic
open fun utc(): dynamic
open fun utcOffset(): dynamic
open fun utcOffset(amount: dynamic): dynamic
open fun utcOffset(amount: dynamic, keepExistingTimeOfDay: Boolean): dynamic
open fun valueOf(): dynamic
package pl.treksoft.kvision.navbar
Module Contents
open class Nav : Div
fun Navbar.nav(rightAlign: Boolean = false, classes: Set<String> = setOf(), init: (Nav.() -> Unit)? = null): Nav
open class Navbar : SimplePanel
fun Container.navbar(label: String? = null, link: String? = null, type: NavbarType? = null, expand: NavbarExpand? = NavbarExpand.LG, nColor: NavbarColor = NavbarColor.LIGHT, bgColor: BsBgColor = BsBgColor.LIGHT, classes: Set<String> = setOf(), init: (Navbar.() -> Unit)? = null): Navbar
enum class NavbarColor
enum class NavbarExpand
enum class NavbarType
open class NavForm : Tag
fun Navbar.navForm(rightAlign: Boolean = false, classes: Set<String> = setOf(), init: (NavForm.() -> Unit)? = null): NavForm
fun Nav.navLink(label: String, url: String? = null, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf(), init: (Link.() -> Unit)? = null): Link
fun Nav.navLinkDisabled(label: String, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf(), init: (Link.() -> Unit)? = null): Link
fun Navbar.navText(label: String, classes: Set<String> = setOf()): Span
package pl.treksoft.kvision.pace
Module Contents
class Pace
class PaceAjaxOptions
class PaceElementsOptions
class PaceEventLagOptions
class PaceOptions
Module Contents
PaceOptions(ajax: PaceAjaxOptions? = null, catchupTime: Int? = null, easeFactor: Double? = null, elements: PaceElementsOptions? = null, eventLag: PaceEventLagOptions? = null, ghostTime: Int? = null, initialRate: Double? = null, maxProgressPerFrame: Int? = null, minTime: Int? = null, restartOnPushState: Boolean? = null, restartOnRequestAfter: Double? = null, startOnPageLoad: Boolean? = null, target: String? = null, manual: Boolean = false)
package pl.treksoft.kvision.panel
Module Contents
enum class Direction
open class DockPanel : SimplePanel
fun Container.dockPanel(classes: Set<String> = setOf(), init: (DockPanel.() -> Unit)? = null): DockPanel
open class FieldsetPanel : SimplePanel
fun Container.fieldsetPanel(legend: String? = null, classes: Set<String> = setOf(), init: (FieldsetPanel.() -> Unit)? = null): FieldsetPanel
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?
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?
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
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>
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?
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
enum class GridSize
class GridWrapper : WidgetWrapper
open class HPanel : FlexPanel
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
fun Application.root(id: String, fixed: Boolean = false, init: Root.() -> Unit): Root
fun Application.root(element: <ERROR CLASS>, fixed: Boolean = false, init: Root.() -> Unit): Root
enum class Side
enum class SideTabSize
open class SimplePanel : Widget, Container
fun Container.simplePanel(classes: Set<String> = setOf(), init: (SimplePanel.() -> Unit)? = null): SimplePanel
open class SplitPanel : SimplePanel
fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String> = setOf(), init: (SplitPanel.() -> Unit)? = null): SplitPanel
open class StackPanel : SimplePanel
fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String> = setOf(), init: (StackPanel.() -> Unit)? = null): StackPanel
open class TabPanel : SimplePanel
fun Container.tabPanel(tabPosition: TabPosition = TabPosition.TOP, sideTabSize: SideTabSize = SideTabSize.SIZE_3, scrollableTabs: Boolean = false, classes: Set<String> = setOf(), init: (TabPanel.() -> Unit)? = null): TabPanel
enum class TabPosition
open class VPanel : FlexPanel
fun Container.vPanel(justify: FlexJustify? = null, alignItems: FlexAlignItems? = null, spacing: Int? = null, classes: Set<String> = setOf(), init: (VPanel.() -> Unit)? = null): VPanel
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
var rich: Boolean
var striped: Boolean
var style: ProgressBarStyle?
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
enum class ProgressBarStyle
package pl.treksoft.kvision.redux
Module Contents
typealias ActionCreator<A, S> = (Dispatch<A>, GetState<S>) -> Unit
fun <S : Any, A : RAction> createReduxStore(reducer: ReducerFun<S, A>, initialState: S, vararg middlewares: <ERROR CLASS><S>): ReduxStore<S, A>
fun <S : Any, A : RAction> createReduxStore(reducer: <ERROR CLASS><S, A>, initialState: S, vararg middlewares: dynamic): ReduxStore<S, A>
typealias Dispatch<A> = (A) -> Unit
typealias GetState<S> = () -> S
interface RAction
typealias ReducerFun<S, A> = (S, A) -> S
class ReduxStore<S : Any, A : RAction> : ObservableState<S>
package pl.treksoft.kvision.remote
Module Contents
fun <T : Any> <ERROR CLASS>.applyRoutes(serviceManager: KVServiceManager<T>): Unit
open class CallAgent
data class Credentials
fun getServerWebExchangeMatcher(vararg services: KVServiceManager<*>): Array<<ERROR CLASS>>
fun getWebSocketUrl(url: String): String
const val HTTP_UNAUTHORIZED: Int
actual typealias Id = Id
val <ERROR CLASS>.injector: <ERROR CLASS>
val injectorKey: <ERROR CLASS>
object JSON
open class KVHandler
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 class KVRouterConfiguration
open actual class KVServiceManager<T : Any>
Module Contents
KVServiceManager(serviceClass: KClass<T>)
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 inline fun <reified PAR1 : Any, reified PAR2 : Any> bind(noinline function: suspend T.(<ERROR CLASS><PAR1>, <ERROR CLASS><PAR2>) -> Unit, route: String?): Unit
protected actual inline fun <reified RET> bindTabulatorRemote(noinline function: suspend T.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?, String?) -> <ERROR CLASS><RET>): 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>>
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>
val webSocketsRequests: MutableMap<String, suspend (<ERROR CLASS>, <ERROR CLASS>, <ERROR CLASS><String>, <ERROR CLASS><String>) -> Unit>
open class KVWebSocketConfig
class KVWebSocketHandler
class LoginService
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?
fun getAuthorities(): MutableCollection<out <ERROR CLASS>>
fun getPassword(): String?
fun getUsername(): String?
val id: String?
fun isAccountNonExpired(): Boolean
fun isAccountNonLocked(): Boolean
fun isCredentialsNonExpired(): Boolean
fun isEnabled(): Boolean
val linkedId: String?
val permissions: MutableSet<String>
var pictureUrl: String?
var profileUrl: String?
val remembered: Boolean
val roles: MutableSet<String>
fun setPassword(password: String?): Unit
fun setUsername(username: String?): Unit
var username: String?
actual typealias Profile = <ERROR CLASS>
interface RemoteAgent
class SecurityException : Exception
abstract class SecurityMgr
fun <ERROR CLASS>.serviceMatchers(vararg services: KVServiceManager<*>): <ERROR CLASS>
fun serviceMatchers(vararg services: KVServiceManager<*>): <ERROR CLASS>
class Socket
class SocketClosedException : Throwable
actual typealias Transient = Transient
interface WithPrincipal
suspend fun <RESP> <ERROR CLASS>.withProfile(block: suspend (Profile) -> RESP): RESP
interface WithProfile
interface WithRequest
interface WithWebSession
interface WithWebSocketSession
package pl.treksoft.kvision.rest
Module Contents
const val HTTP_UNAUTHORIZED: Int
enum class HttpMethod
data class Response<T>
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>
fun remoteRequest(url: String, data: dynamic = null, method: HttpMethod = HttpMethod.GET, contentType: String = "application/json", beforeSend: ((JQueryXHR, JQueryAjaxSettings) -> Boolean)? = null): Promise<Response<dynamic>>
fun <T : Any> remoteRequest(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<Response<T>>
fun <V : Any> remoteRequest(url: String, serializer: SerializationStrategy<V>, data: V, method: HttpMethod = HttpMethod.GET, contentType: String = "application/json", beforeSend: ((JQueryXHR, JQueryAjaxSettings) -> Boolean)? = null): Promise<Response<dynamic>>
fun <T : Any, V : Any> remoteRequest(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<Response<T>>
inline fun <reified T : Any> request(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<Response<T>>
inline fun <reified V : Any> request(url: String, data: V, method: HttpMethod = HttpMethod.GET, contentType: String = "application/json", noinline beforeSend: ((JQueryXHR, JQueryAjaxSettings) -> Boolean)? = null): Promise<Response<dynamic>>
inline fun <T : Any, reified V : Any> request(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<Response<T>>
inline fun <reified T : Any, V : Any> request(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<Response<T>>
inline fun <reified T : Any, reified V : Any> request(url: String, data: V, method: HttpMethod = HttpMethod.GET, contentType: String = "application/json", noinline beforeSend: ((JQueryXHR, JQueryAjaxSettings) -> Boolean)? = null, noinline transform: ((dynamic) -> dynamic)? = null): Promise<Response<T>>
package pl.treksoft.kvision.routing
package pl.treksoft.kvision.state
Module Contents
interface ObservableList<T> : MutableList<T>, ObservableState<List<T>>
fun <T> observableListOf(vararg items: T): ObservableListWrapper<T>
class ObservableListWrapper<T> : MutableList<T>, ObservableList<T>, ObservableState<List<T>>
interface ObservableState<S>
class StateBinding<S : Any, CONT : Container, CONTENT> : Widget
fun <S : Any, CONT : Container> CONT.stateBinding(observableState: ObservableState<S>, factory: CONT.(S) -> Unit): StateBinding<S, CONT, Unit>
fun <S : Any, CONT : Container, CONTENT> CONT.stateUpdate(observableState: ObservableState<S>, factory: CONT.(S) -> CONTENT): Updateable<S, CONTENT>
class Updateable<S : Any, CONTENT>
package pl.treksoft.kvision.table
Module Contents
open class Cell : Tag
fun Row.cell(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Cell.() -> Unit)? = null): Cell
open class HeaderCell : Tag
fun Row.headerCell(: String? = null, : Boolean = false, : Align? = null, : Scope? = null, : Set<String> = setOf(), : (HeaderCell.() -> Unit)? = null): HeaderCell
enum class ResponsiveType
open class Row : Tag
fun Table.row(classes: Set<String> = setOf(), init: (Row.() -> Unit)? = null): Row
enum class Scope
open class Table : SimplePanel
fun Container.table(: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null): Table
enum class TableType
fun Row.thcell(: String? = null, : Boolean = false, : Align? = null, : Set<String> = setOf(), : (HeaderCell.() -> Unit)? = null): HeaderCell
enum class TheadType
package pl.treksoft.kvision.tabulator
Module Contents
enum class AddRowMode
enum class Align
enum class Calc
data class ColumnDefinition<T : Any>
Module Contents
ColumnDefinition(title: String, field: String? = null, columns: List<ColumnDefinition<T>>? = null, visible: Boolean? = null, align: Align? = null, width: String? = null, minWidth: Int? = null, widthGrow: Int? = null, widthShrink: Int? = null, resizable: Boolean? = null, frozen: Boolean? = null, responsive: Int? = null, tooltip: ((cell: Tabulator.CellComponent) -> String)? = null, cssClass: String? = null, rowHandle: Boolean? = null, hideInHtml: Boolean? = null, sorter: Sorter? = null, sorterFunction: ((dynamic, dynamic, aRow: Tabulator.RowComponent, bRow: Tabulator.RowComponent, column: Tabulator.ColumnComponent, dir: SortingDir, dynamic) -> Number)? = null, sorterParams: dynamic = null, formatter: Formatter? = null, formatterFunction: ((cell: Tabulator.CellComponent, dynamic, onRendered: (callback: () -> Unit) -> Unit) -> dynamic)? = null, formatterComponentFunction: ((cell: Tabulator.CellComponent, onRendered: (callback: () -> Unit) -> Unit, data: T) -> Component)? = null, formatterParams: dynamic = null, variableHeight: Boolean? = null, editable: ((cell: Tabulator.CellComponent) -> Boolean)? = null, editor: Editor? = null, editorFunction: ((cell: Tabulator.CellComponent, onRendered: (callback: () -> Unit) -> Unit, success: (dynamic) -> Unit, cancel: (dynamic) -> Unit, dynamic) -> dynamic)? = null, editorComponentFunction: ((cell: Tabulator.CellComponent, onRendered: (callback: () -> Unit) -> Unit, success: (dynamic) -> Unit, cancel: (dynamic) -> Unit, data: T) -> Component)? = null, editorParams: dynamic = null, validator: Validator? = null, validatorFunction: dynamic = null, validatorParams: String? = null, download: Boolean? = null, downloadTitle: String? = null, topCalc: Calc? = null, topCalcParams: dynamic = null, topCalcFormatter: Formatter? = null, topCalcFormatterParams: dynamic = null, bottomCalc: Calc? = null, bottomCalcParams: dynamic = null, bottomCalcFormatter: Formatter? = null, bottomCalcFormatterParams: dynamic = null, headerSort: Boolean? = null, headerSortStartingDir: SortingDir? = null, headerSortTristate: Boolean? = null, headerClick: ((dynamic, column: Tabulator.ColumnComponent) -> Unit)? = null, headerDblClick: ((dynamic, column: Tabulator.ColumnComponent) -> Unit)? = null, headerContext: ((dynamic, column: Tabulator.ColumnComponent) -> Unit)? = null, headerTap: ((dynamic, column: Tabulator.ColumnComponent) -> Unit)? = null, headerDblTap: ((dynamic, column: Tabulator.ColumnComponent) -> Unit)? = null, headerTapHold: ((dynamic, column: Tabulator.ColumnComponent) -> Unit)? = null, headerTooltip: ((column: Tabulator.ColumnComponent) -> String)? = null, headerVertical: Boolean? = null, editableTitle: Boolean? = null, titleFormatter: Formatter? = null, titleFormatterParams: dynamic = null, headerFilter: Editor? = null, headerFilterParams: dynamic = null, headerFilterPlaceholder: String? = null, headerFilterEmptyCheck: ((value: Any) -> Boolean)? = null, headerFilterFunc: Filter? = null, headerFilterFuncParams: dynamic = null, headerFilterLiveFilter: Boolean? = null, htmlOutput: Boolean? = null, print: Boolean? = null, cellClick: ((dynamic, cell: Tabulator.CellComponent) -> Unit)? = null, cellDblClick: ((dynamic, cell: Tabulator.CellComponent) -> Unit)? = null, cellContext: ((dynamic, cell: Tabulator.CellComponent) -> Unit)? = null, cellTap: ((dynamic, cell: Tabulator.CellComponent) -> Unit)? = null, cellDblTap: ((dynamic, cell: Tabulator.CellComponent) -> Unit)? = null, cellTapHold: ((dynamic, cell: Tabulator.CellComponent) -> Unit)? = null, cellMouseEnter: ((dynamic, cell: Tabulator.CellComponent) -> Unit)? = null, cellMouseLeave: ((dynamic, cell: Tabulator.CellComponent) -> Unit)? = null, cellMouseOver: ((dynamic, cell: Tabulator.CellComponent) -> Unit)? = null, cellMouseOut: ((dynamic, cell: Tabulator.CellComponent) -> Unit)? = null, cellMouseMove: ((dynamic, cell: Tabulator.CellComponent) -> Unit)? = null, cellEditing: ((cell: Tabulator.CellComponent) -> Unit)? = null, cellEdited: ((cell: Tabulator.CellComponent) -> Unit)? = null, cellEditCancelled: ((cell: Tabulator.CellComponent) -> Unit)? = null)
val align: Align?
val bottomCalc: Calc?
val bottomCalcFormatter: Formatter?
val bottomCalcFormatterParams: dynamic
val bottomCalcParams: dynamic
val cellClick: ((dynamic, cell: Tabulator.CellComponent) -> Unit)?
val cellContext: ((dynamic, cell: Tabulator.CellComponent) -> Unit)?
val cellDblClick: ((dynamic, cell: Tabulator.CellComponent) -> Unit)?
val cellDblTap: ((dynamic, cell: Tabulator.CellComponent) -> Unit)?
val cellEditCancelled: ((cell: Tabulator.CellComponent) -> Unit)?
val cellEdited: ((cell: Tabulator.CellComponent) -> Unit)?
val cellEditing: ((cell: Tabulator.CellComponent) -> Unit)?
val cellMouseEnter: ((dynamic, cell: Tabulator.CellComponent) -> Unit)?
val cellMouseLeave: ((dynamic, cell: Tabulator.CellComponent) -> Unit)?
val cellMouseMove: ((dynamic, cell: Tabulator.CellComponent) -> Unit)?
val cellMouseOut: ((dynamic, cell: Tabulator.CellComponent) -> Unit)?
val cellMouseOver: ((dynamic, cell: Tabulator.CellComponent) -> Unit)?
val cellTap: ((dynamic, cell: Tabulator.CellComponent) -> Unit)?
val cellTapHold: ((dynamic, cell: Tabulator.CellComponent) -> Unit)?
val columns: List<ColumnDefinition<T>>?
val cssClass: String?
val download: Boolean?
val downloadTitle: String?
val editable: ((cell: Tabulator.CellComponent) -> Boolean)?
val editableTitle: Boolean?
val editor: Editor?
val editorComponentFunction: ((cell: Tabulator.CellComponent, onRendered: (callback: () -> Unit) -> Unit, success: (dynamic) -> Unit, cancel: (dynamic) -> Unit, data: T) -> Component)?
val editorFunction: ((cell: Tabulator.CellComponent, onRendered: (callback: () -> Unit) -> Unit, success: (dynamic) -> Unit, cancel: (dynamic) -> Unit, dynamic) -> dynamic)?
val editorParams: dynamic
val field: String?
val formatter: Formatter?
val formatterComponentFunction: ((cell: Tabulator.CellComponent, onRendered: (callback: () -> Unit) -> Unit, data: T) -> Component)?
val formatterFunction: ((cell: Tabulator.CellComponent, dynamic, onRendered: (callback: () -> Unit) -> Unit) -> dynamic)?
val formatterParams: dynamic
val frozen: Boolean?
val headerClick: ((dynamic, column: Tabulator.ColumnComponent) -> Unit)?
val headerContext: ((dynamic, column: Tabulator.ColumnComponent) -> Unit)?
val headerDblClick: ((dynamic, column: Tabulator.ColumnComponent) -> Unit)?
val headerDblTap: ((dynamic, column: Tabulator.ColumnComponent) -> Unit)?
val headerFilter: Editor?
val headerFilterEmptyCheck: ((value: Any) -> Boolean)?
val headerFilterFunc: Filter?
val headerFilterFuncParams: dynamic
val headerFilterLiveFilter: Boolean?
val headerFilterParams: dynamic
val headerFilterPlaceholder: String?
val headerSort: Boolean?
val headerSortStartingDir: SortingDir?
val headerSortTristate: Boolean?
val headerTap: ((dynamic, column: Tabulator.ColumnComponent) -> Unit)?
val headerTapHold: ((dynamic, column: Tabulator.ColumnComponent) -> Unit)?
val headerTooltip: ((column: Tabulator.ColumnComponent) -> String)?
val headerVertical: Boolean?
val hideInHtml: Boolean?
val htmlOutput: Boolean?
val minWidth: Int?
val print: Boolean?
val resizable: Boolean?
val responsive: Int?
val rowHandle: Boolean?
val sorter: Sorter?
val sorterFunction: ((dynamic, dynamic, aRow: Tabulator.RowComponent, bRow: Tabulator.RowComponent, column: Tabulator.ColumnComponent, dir: SortingDir, dynamic) -> Number)?
val sorterParams: dynamic
val title: String
val titleFormatter: Formatter?
val titleFormatterParams: dynamic
val tooltip: ((cell: Tabulator.CellComponent) -> String)?
val topCalc: Calc?
val topCalcFormatter: Formatter?
val topCalcFormatterParams: dynamic
val topCalcParams: dynamic
val validator: Validator?
val validatorFunction: dynamic
val validatorParams: String?
val variableHeight: Boolean?
val visible: Boolean?
val width: String?
val widthGrow: Int?
val widthShrink: Int?
enum class ColumnPosition
data class DownloadConfig
enum class DownloadSet
enum class Editor
enum class Filter
enum class Formatter
enum class Layout
enum class PaginationMode
enum class ProgressiveMode
enum class RangeMode
enum class ResponsiveLayout
enum class RowPos
enum class RowPosition
enum class Sorter
enum class SortingDir
open class Tabulator<T : Any> : Widget
Module Contents
Tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf())
open fun addColumn(columnDefinition: ColumnDefinition<T>, insertRightOfTarget: Boolean? = null, positionTarget: String? = null): Unit
open fun addColumn(columnDefinition: Tabulator.ColumnDefinition, insertRightOfTarget: Boolean? = null, positionTarget: String? = null): Unit
protected open fun afterDestroy(): Unit
protected open fun afterInsert(node: VNode): Unit
open fun applyFilter(): Unit
open fun clearData(): Unit?
open fun clearFilter(: Boolean = true): Unit
open fun clearHeaderFilter(): Unit
open fun clearSort(): Unit
fun <T : Any> create(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T>
fun <T : Any, S : Any> create(store: ObservableState<S>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T>
protected fun createJsTabulator(): Unit
protected val data: List<T>?
protected val dataUpdateOnEdit: Boolean
open fun deleteColumn(name: String): Unit
open fun deselectRow(row: Int): Unit
open fun downloadCSV(fileName: String? = null, dataSet: DownloadSet = DownloadSet.ACTIVE, delimiter: Char = ',', includeBOM: Boolean = false, newTab: Boolean = false): Unit?
open fun downloadHTML(fileName: String? = null, dataSet: DownloadSet = DownloadSet.ACTIVE, style: Boolean = false, newTab: Boolean = false): Unit?
open fun downloadJSON(fileName: String? = null, dataSet: DownloadSet = DownloadSet.ACTIVE, newTab: Boolean = false): Unit?
protected var filter: ((T) -> Boolean)?
open fun getColumn(name: String): Tabulator.ColumnComponent?
open fun getData(active: Boolean): List<T>?
open fun getDataCount(activeOnly: Boolean = false): Int
open fun getHistoryRedoSize(): Int
open fun getHistoryUndoSize(): Int
open fun getHtml(activeOnly: Boolean = false, isStyled: Boolean = false, htmlOutputConfig: dynamic = null): String?
open fun getPage(): Int
open fun getPageMax(): Int
open fun getPageSize(): Int
open fun getSelectedData(): List<T>
open fun getSelectedRows(): List<Tabulator.RowComponent>
protected open fun getSnClass(): List<StringBoolPair>
var jsTabulator: Tabulator?
open fun navigateDown(): Unit
open fun navigateLeft(): Unit
open fun navigateNext(): Unit
open fun navigatePrev(): Unit
open fun navigateRight(): Unit
open fun navigateUp(): Unit
open fun nextPage(): Unit
val options: TabulatorOptions<T>
open fun previousPage(): Unit
open fun print(activeOnly: Boolean = false, isStyled: Boolean = false, printConfig: dynamic = null): Unit?
open fun redo(): Boolean
open fun redraw(force: Boolean = false): Unit
open fun reload(): Unit
protected open fun render(): VNode
open fun replaceData(data: Array<T>): Unit
open fun scrollToRow(row: Int, position: RowPosition? = null, ifVisible: Boolean? = null): Unit
open fun selectRow(row: Int): Unit
open fun setData(data: Array<T>): Unit
open fun setFilter(filter: (T) -> Boolean): Unit
open fun setHeight(height: Int): Unit
open fun setPage(page: Int): Unit
open fun setPageSize(size: Int): Unit
open fun setPageToRow(row: Int): Unit
open fun toggleSelectRow(row: Int): Unit
var types: Set<TableType>
open fun undo(): Boolean
fun <T : Any> Container.tabulator(data: List<T>? = null, dataUpdateOnEdit: Boolean = true, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T>
fun <T : Any, S : Any> Container.tabulator(store: ObservableState<S>, dataFactory: (S) -> List<T>, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T>
fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T>
data class TabulatorOptions<T : Any>
Module Contents
TabulatorOptions(height: String? = null, virtualDom: Boolean? = null, virtualDomBuffer: Int? = null, placeholder: String? = null, footerElement: String? = null, tooltips: ((cell: Tabulator.CellComponent) -> String)? = null, tooltipGenerationMode: TooltipGenerationMode? = null, history: Boolean? = null, keybindings: dynamic = null, downloadDataFormatter: dynamic = null, downloadConfig: DownloadConfig? = null, reactiveData: Boolean? = null, autoResize: Boolean? = null, columns: List<ColumnDefinition<T>>? = null, autoColumns: Boolean? = null, layout: Layout? = null, layoutColumnsOnNewData: Boolean? = null, responsiveLayout: ResponsiveLayout? = null, responsiveLayoutCollapseStartOpen: Boolean? = null, responsiveLayoutCollapseUseFormatters: Boolean? = null, columnMinWidth: Int? = null, resizableColumns: Boolean? = null, movableColumns: Boolean? = null, tooltipsHeader: Boolean? = null, headerFilterPlaceholder: String? = null, scrollToColumnPosition: ColumnPosition? = null, scrollToColumnIfVisible: Boolean? = null, rowFormatter: ((row: Tabulator.RowComponent) -> Unit)? = null, addRowPos: RowPos? = null, selectable: dynamic = null, selectableRangeMode: RangeMode? = null, selectableRollingSelection: Boolean? = null, selectablePersistence: Boolean? = null, selectableCheck: ((row: Tabulator.RowComponent) -> Boolean)? = null, movableRows: Boolean? = null, movableRowsConnectedTables: dynamic = null, movableRowsSender: dynamic = null, movableRowsReceiver: dynamic = null, resizableRows: Boolean? = null, scrollToRowPosition: RowPosition? = null, scrollToRowIfVisible: Boolean? = null, index: String? = null, data: Array<T>? = null, ajaxURL: String? = null, ajaxParams: dynamic = null, ajaxConfig: dynamic = null, ajaxContentType: dynamic = null, ajaxURLGenerator: ((url: String, dynamic, dynamic) -> String)? = null, ajaxRequestFunc: ((url: String, dynamic, dynamic) -> Promise<Any>)? = null, ajaxFiltering: Boolean? = null, ajaxSorting: Boolean? = null, ajaxProgressiveLoad: ProgressiveMode? = null, ajaxProgressiveLoadDelay: Int? = null, ajaxProgressiveLoadScrollMargin: Int? = null, ajaxLoader: Boolean? = null, ajaxLoaderLoading: String? = null, ajaxLoaderError: String? = null, initialSort: List<Tabulator.Sorter>? = null, sortOrderReverse: Boolean? = null, initialFilter: List<Tabulator.Filter>? = null, initialHeaderFilter: List<Any?>? = null, pagination: PaginationMode? = null, paginationSize: Int? = null, paginationSizeSelector: Boolean? = null, paginationElement: dynamic = null, paginationDataReceived: dynamic = null, paginationDataSent: dynamic = null, paginationAddRow: AddRowMode? = null, paginationButtonCount: Int? = null, persistenceID: String? = null, persistenceMode: Boolean? = null, persistentLayout: Boolean? = null, persistentSort: Boolean? = null, persistentFilter: Boolean? = null, locale: String? = null, langs: dynamic = null, localized: ((locale: String, dynamic) -> Unit)? = null, headerVisible: Boolean? = null, htmlOutputConfig: dynamic = null, printAsHtml: Boolean? = null, printConfig: dynamic = null, printCopyStyle: Boolean? = null, printVisibleRows: Boolean? = null, printHeader: String? = null, printFooter: String? = null, printFormatter: ((dynamic, dynamic) -> Unit)? = null, tabEndNewRow: dynamic = null, headerSort: Boolean? = null, headerSortTristate: Boolean? = null, invalidOptionWarnings: Boolean? = null, dataTree: Boolean? = null, dataTreeChildField: String? = null, dataTreeCollapseElement: dynamic = null, dataTreeExpandElement: dynamic = null, dataTreeElementColumn: String? = null, dataTreeBranchElement: dynamic = null, dataTreeChildIndent: Number? = null, dataTreeStartExpanded: ((row: Tabulator.RowComponent, level: Number) -> Boolean)? = null, dataTreeRowExpanded: ((row: Tabulator.RowComponent, level: Number) -> Unit)? = null, dataTreeRowCollapsed: ((row: Tabulator.RowComponent, level: Number) -> Unit)? = null, movableRowsSendingStart: ((toTables: Array<Any>) -> Unit)? = null, movableRowsSent: ((fromRow: Tabulator.RowComponent, toRow: Tabulator.RowComponent, toTable: Tabulator) -> Unit)? = null, movableRowsSentFailed: ((fromRow: Tabulator.RowComponent, toRow: Tabulator.RowComponent, toTable: Tabulator) -> Unit)? = null, movableRowsSendingStop: ((toTables: Array<Any>) -> Unit)? = null, movableRowsReceivingStart: ((fromRow: Tabulator.RowComponent, toTable: Tabulator) -> Unit)? = null, movableRowsReceived: ((fromRow: Tabulator.RowComponent, toRow: Tabulator.RowComponent, fromTable: Tabulator) -> Unit)? = null, movableRowsReceivedFailed: ((fromRow: Tabulator.RowComponent, toRow: Tabulator.RowComponent, fromTable: Tabulator) -> Unit)? = null, movableRowsReceivingStop: ((fromTable: Tabulator) -> Unit)? = null, rowClick: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowDblClick: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowContext: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowTap: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowDblTap: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowTapHold: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowMouseEnter: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowMouseLeave: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowMouseOver: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowMouseOut: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowMouseMove: ((dynamic, row: Tabulator.RowComponent) -> Unit)? = null, rowAdded: ((row: Tabulator.RowComponent) -> Unit)? = null, rowUpdated: ((row: Tabulator.RowComponent) -> Unit)? = null, rowDeleted: ((row: Tabulator.RowComponent) -> Unit)? = null, rowMoved: ((row: Tabulator.RowComponent) -> Unit)? = null, rowResized: ((row: Tabulator.RowComponent) -> Unit)? = null, rowSelectionChanged: ((data: Array<Any>, rows: Array<Tabulator.RowComponent>) -> Unit)? = null, rowSelected: ((row: Tabulator.RowComponent) -> Unit)? = null, rowDeselected: ((row: Tabulator.RowComponent) -> Unit)? = null, cellClick: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellDblClick: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellContext: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellTap: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellDblTap: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellTapHold: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellMouseEnter: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellMouseLeave: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellMouseOver: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellMouseOut: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellMouseMove: ((e: Any, cell: Tabulator.CellComponent) -> Unit)? = null, cellEditing: ((cell: Tabulator.CellComponent) -> Unit)? = null, cellEdited: ((cell: Tabulator.CellComponent) -> Unit)? = null, cellEditCancelled: ((cell: Tabulator.CellComponent) -> Unit)? = null, columnMoved: ((column: Tabulator.ColumnComponent, columns: Array<dynamic>) -> Unit)? = null, columnResized: ((column: Tabulator.ColumnComponent) -> Unit)? = null, columnVisibilityChanged: ((column: Tabulator.ColumnComponent, visible: Boolean) -> Unit)? = null, columnTitleChanged: ((column: Tabulator.ColumnComponent) -> Unit)? = null, tableBuilding: (() -> Unit)? = null, tableBuilt: (() -> Unit)? = null, renderStarted: (() -> Unit)? = null, renderComplete: (() -> Unit)? = null, htmlImporting: (() -> Unit)? = null, htmlImported: (() -> Unit)? = null, dataLoading: ((data: List<T>) -> Unit)? = null, dataLoaded: ((data: List<T>) -> Unit)? = null, dataEdited: ((data: List<T>) -> Unit)? = null, pageLoaded: ((pageno: Int) -> Unit)? = null, dataSorting: ((sorters: Array<Tabulator.Sorter>) -> Unit)? = null, dataSorted: ((sorters: Array<Tabulator.Sorter>, rows: Array<Tabulator.RowComponent>) -> Unit)? = null, dataFiltering: ((filters: Array<Tabulator.Filter>) -> Unit)? = null, dataFiltered: ((filters: Array<Tabulator.Filter>, rows: Array<Tabulator.RowComponent>) -> Unit)? = null, validationFailed: ((cell: Tabulator.CellComponent, value: Any, dynamic) -> Unit)? = null, ajaxRequesting: ((url: String, dynamic) -> Boolean)? = null, ajaxResponse: ((url: String, dynamic, dynamic) -> Any)? = null, ajaxError: ((dynamic, textStatus: String, dynamic) -> Unit)? = null)
val addRowPos: RowPos?
val ajaxConfig: dynamic
val ajaxContentType: dynamic
var ajaxError: ((dynamic, textStatus: String, dynamic) -> Unit)?
val ajaxFiltering: Boolean?
val ajaxLoader: Boolean?
val ajaxLoaderError: String?
val ajaxLoaderLoading: String?
val ajaxParams: dynamic
val ajaxProgressiveLoad: ProgressiveMode?
val ajaxProgressiveLoadDelay: Int?
val ajaxProgressiveLoadScrollMargin: Int?
var ajaxRequestFunc: ((url: String, dynamic, dynamic) -> Promise<Any>)?
var ajaxRequesting: ((url: String, dynamic) -> Boolean)?
var ajaxResponse: ((url: String, dynamic, dynamic) -> Any)?
val ajaxSorting: Boolean?
var ajaxURL: String?
val ajaxURLGenerator: ((url: String, dynamic, dynamic) -> String)?
val autoColumns: Boolean?
val autoResize: Boolean?
var cellClick: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
var cellContext: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
var cellDblClick: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
var cellDblTap: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
var cellEditCancelled: ((cell: Tabulator.CellComponent) -> Unit)?
var cellEdited: ((cell: Tabulator.CellComponent) -> Unit)?
var cellEditing: ((cell: Tabulator.CellComponent) -> Unit)?
var cellMouseEnter: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
var cellMouseLeave: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
var cellMouseMove: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
var cellMouseOut: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
var cellMouseOver: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
var cellTap: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
var cellTapHold: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
val columnMinWidth: Int?
var columnMoved: ((column: Tabulator.ColumnComponent, columns: Array<dynamic>) -> Unit)?
var columnResized: ((column: Tabulator.ColumnComponent) -> Unit)?
val columns: List<ColumnDefinition<T>>?
var columnTitleChanged: ((column: Tabulator.ColumnComponent) -> Unit)?
var columnVisibilityChanged: ((column: Tabulator.ColumnComponent, visible: Boolean) -> Unit)?
var data: Array<T>?
var dataEdited: ((data: List<T>) -> Unit)?
var dataFiltered: ((filters: Array<Tabulator.Filter>, rows: Array<Tabulator.RowComponent>) -> Unit)?
var dataFiltering: ((filters: Array<Tabulator.Filter>) -> Unit)?
var dataLoaded: ((data: List<T>) -> Unit)?
var dataLoading: ((data: List<T>) -> Unit)?
var dataSorted: ((sorters: Array<Tabulator.Sorter>, rows: Array<Tabulator.RowComponent>) -> Unit)?
var dataSorting: ((sorters: Array<Tabulator.Sorter>) -> Unit)?
val dataTree: Boolean?
val dataTreeBranchElement: dynamic
val dataTreeChildField: String?
val dataTreeChildIndent: Number?
val dataTreeCollapseElement: dynamic
val dataTreeElementColumn: String?
val dataTreeExpandElement: dynamic
val dataTreeRowCollapsed: ((row: Tabulator.RowComponent, level: Number) -> Unit)?
val dataTreeRowExpanded: ((row: Tabulator.RowComponent, level: Number) -> Unit)?
val dataTreeStartExpanded: ((row: Tabulator.RowComponent, level: Number) -> Boolean)?
val downloadConfig: DownloadConfig?
val downloadDataFormatter: dynamic
val footerElement: String?
val headerFilterPlaceholder: String?
val headerSort: Boolean?
val headerSortTristate: Boolean?
val headerVisible: Boolean?
val height: String?
val history: Boolean?
var htmlImported: (() -> Unit)?
var htmlImporting: (() -> Unit)?
val htmlOutputConfig: dynamic
val index: String?
val initialFilter: List<Tabulator.Filter>?
val initialHeaderFilter: List<Any?>?
val initialSort: List<Tabulator.Sorter>?
val invalidOptionWarnings: Boolean?
val keybindings: dynamic
var langs: dynamic
val layout: Layout?
val layoutColumnsOnNewData: Boolean?
val locale: String?
val localized: ((locale: String, dynamic) -> Unit)?
val movableColumns: Boolean?
val movableRows: Boolean?
val movableRowsConnectedTables: dynamic
val movableRowsReceived: ((fromRow: Tabulator.RowComponent, toRow: Tabulator.RowComponent, fromTable: Tabulator) -> Unit)?
val movableRowsReceivedFailed: ((fromRow: Tabulator.RowComponent, toRow: Tabulator.RowComponent, fromTable: Tabulator) -> Unit)?
val movableRowsReceiver: dynamic
val movableRowsReceivingStart: ((fromRow: Tabulator.RowComponent, toTable: Tabulator) -> Unit)?
val movableRowsReceivingStop: ((fromTable: Tabulator) -> Unit)?
val movableRowsSender: dynamic
val movableRowsSendingStart: ((toTables: Array<Any>) -> Unit)?
val movableRowsSendingStop: ((toTables: Array<Any>) -> Unit)?
val movableRowsSent: ((fromRow: Tabulator.RowComponent, toRow: Tabulator.RowComponent, toTable: Tabulator) -> Unit)?
val movableRowsSentFailed: ((fromRow: Tabulator.RowComponent, toRow: Tabulator.RowComponent, toTable: Tabulator) -> Unit)?
var pageLoaded: ((pageno: Int) -> Unit)?
val pagination: PaginationMode?
val paginationAddRow: AddRowMode?
val paginationButtonCount: Int?
val paginationDataReceived: dynamic
val paginationDataSent: dynamic
val paginationElement: dynamic
val paginationSize: Int?
val paginationSizeSelector: Boolean?
var persistenceID: String?
var persistenceMode: Boolean?
var persistentFilter: Boolean?
var persistentLayout: Boolean?
var persistentSort: Boolean?
val placeholder: String?
val printAsHtml: Boolean?
val printConfig: dynamic
val printCopyStyle: Boolean?
val printFooter: String?
val printFormatter: ((dynamic, dynamic) -> Unit)?
val printHeader: String?
val printVisibleRows: Boolean?
val reactiveData: Boolean?
var renderComplete: (() -> Unit)?
var renderStarted: (() -> Unit)?
val resizableColumns: Boolean?
val resizableRows: Boolean?
val responsiveLayout: ResponsiveLayout?
val responsiveLayoutCollapseStartOpen: Boolean?
val responsiveLayoutCollapseUseFormatters: Boolean?
var rowAdded: ((row: Tabulator.RowComponent) -> Unit)?
var rowClick: ((dynamic, row: Tabulator.RowComponent) -> Unit)?
var rowContext: ((dynamic, row: Tabulator.RowComponent) -> Unit)?
var rowDblClick: ((dynamic, row: Tabulator.RowComponent) -> Unit)?
var rowDblTap: ((dynamic, row: Tabulator.RowComponent) -> Unit)?
var rowDeleted: ((row: Tabulator.RowComponent) -> Unit)?
var rowDeselected: ((row: Tabulator.RowComponent) -> Unit)?
val rowFormatter: ((row: Tabulator.RowComponent) -> Unit)?
var rowMouseEnter: ((dynamic, row: Tabulator.RowComponent) -> Unit)?
var rowMouseLeave: ((dynamic, row: Tabulator.RowComponent) -> Unit)?
var rowMouseMove: ((dynamic, row: Tabulator.RowComponent) -> Unit)?
var rowMouseOut: ((dynamic, row: Tabulator.RowComponent) -> Unit)?
var rowMouseOver: ((dynamic, row: Tabulator.RowComponent) -> Unit)?
var rowMoved: ((row: Tabulator.RowComponent) -> Unit)?
var rowResized: ((row: Tabulator.RowComponent) -> Unit)?
var rowSelected: ((row: Tabulator.RowComponent) -> Unit)?
var rowSelectionChanged: ((data: Array<Any>, rows: Array<Tabulator.RowComponent>) -> Unit)?
var rowTap: ((dynamic, row: Tabulator.RowComponent) -> Unit)?
var rowTapHold: ((dynamic, row: Tabulator.RowComponent) -> Unit)?
var rowUpdated: ((row: Tabulator.RowComponent) -> Unit)?
val scrollToColumnIfVisible: Boolean?
val scrollToColumnPosition: ColumnPosition?
val scrollToRowIfVisible: Boolean?
val scrollToRowPosition: RowPosition?
val selectable: dynamic
val selectableCheck: ((row: Tabulator.RowComponent) -> Boolean)?
val selectablePersistence: Boolean?
val selectableRangeMode: RangeMode?
val selectableRollingSelection: Boolean?
val sortOrderReverse: Boolean?
val tabEndNewRow: dynamic
var tableBuilding: (() -> Unit)?
var tableBuilt: (() -> Unit)?
val tooltipGenerationMode: TooltipGenerationMode?
val tooltips: ((cell: Tabulator.CellComponent) -> String)?
val tooltipsHeader: Boolean?
var validationFailed: ((cell: Tabulator.CellComponent, value: Any, dynamic) -> Unit)?
val virtualDom: Boolean?
val virtualDomBuffer: Int?
open class TabulatorRemote<T : Any, E : Any> : Tabulator<T>
fun <T : Any, E : Any> Container.tabulatorRemote(serviceManager: KVServiceManager<E>, function: suspend E.(Int?, Int?, List<<ERROR CLASS>>?, List<<ERROR CLASS>>?, String?) -> <ERROR CLASS><T>, stateFunction: (() -> String)? = null, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String> = setOf(), init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E>
fun DownloadConfig.toJs(): Tabulator.DownloadConfig
fun <T : Any> ColumnDefinition<T>.toJs(i18nTranslator: (String) -> String): Tabulator.ColumnDefinition
fun <T : Any> TabulatorOptions<T>.toJs(i18nTranslator: (String) -> String): Tabulator.Options
enum class TooltipGenerationMode
enum class Validator
package pl.treksoft.kvision.tabulator.js
Module Contents
open external class Tabulator
Module Contents
Tabulator(selector: String, options: Tabulator.Options? = definedExternally)
Tabulator(selector: <ERROR CLASS>, options: Tabulator.Options? = definedExternally)
open fun addColumn(definition: Tabulator.ColumnDefinition, insertRightOfTarget: Boolean?, positionTarget: dynamic): Unit
open fun addData(data: Array<Any>?, addToTop: Boolean?, positionTarget: dynamic): Promise<Tabulator.RowComponent>
open fun addFilter(field: String, type: dynamic, value: Any): Unit
open fun addRow(data: Any?, addToTop: Boolean?, positionTarget: dynamic): Promise<Tabulator.RowComponent>
interface AjaxConfig
interface AjaxContentType
interface AutoCompleteParams
open var browser: String
open var browserSlow: Boolean
interface CellCallbacks
Module Contents
open var cellClick: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
open var cellContext: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
open var cellDblClick: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
open var cellDblTap: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
open var cellEditCancelled: ((cell: Tabulator.CellComponent) -> Unit)?
open var cellEdited: ((cell: Tabulator.CellComponent) -> Unit)?
open var cellEditing: ((cell: Tabulator.CellComponent) -> Unit)?
open var cellMouseEnter: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
open var cellMouseLeave: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
open var cellMouseMove: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
open var cellMouseOut: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
open var cellMouseOver: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
open var cellTap: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
open var cellTapHold: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
interface CellComponent
interface CellNavigation
interface CheckboxParams
open fun clearData(): Unit
open fun clearFilter(: Boolean): Unit
open fun clearHeaderFilter(): Unit
open fun clearSort(): Unit
interface ClipboardConfig
interface ColumnComponent
interface ColumnDefinition : Tabulator.ColumnLayout, Tabulator.CellCallbacks
Module Contents
open var accessor: ((value: Any, data: Any, dynamic, AccessorParams: Any, column: Tabulator.ColumnComponent?) -> Any)?
open var accessorClipboard: ((value: Any, data: Any, dynamic, AccessorParams: Any, column: Tabulator.ColumnComponent?) -> Any)?
open var accessorClipboardParams: dynamic
open var accessorDownload: ((value: Any, data: Any, dynamic, AccessorParams: Any, column: Tabulator.ColumnComponent?) -> Any)?
open var accessorDownloadParams: dynamic
open var accessorParams: dynamic
open var align: dynamic
open var bottomCalc: dynamic
open var bottomCalcFormatter: dynamic
open var bottomCalcFormatterParams: dynamic
open var bottomCalcParams: ((values: Any, data: Any) -> Any)?
open var cssClass: String?
open var download: Boolean?
open var downloadTitle: String?
open var editable: dynamic
open var editableTitle: Boolean?
open var editor: dynamic
open var editorParams: dynamic
open var formatter: dynamic
open var formatterParams: dynamic
open var frozen: Boolean?
open var headerClick: ((e: Any, column: Tabulator.ColumnComponent) -> Unit)?
open var headerContext: ((e: Any, column: Tabulator.ColumnComponent) -> Unit)?
open var headerDblClick: ((e: Any, column: Tabulator.ColumnComponent) -> Unit)?
open var headerDblTap: ((e: Any, column: Tabulator.ColumnComponent) -> Unit)?
open var headerFilter: dynamic
open var headerFilterEmptyCheck: ((value: Any) -> Boolean)?
open var headerFilterFunc: dynamic
open var headerFilterFuncParams: Any?
open var headerFilterLiveFilter: Boolean?
open var headerFilterParams: dynamic
open var headerFilterPlaceholder: String?
open var headerSort: Boolean?
open var headerSortStartingDir: dynamic
open var headerSortTristate: Boolean?
open var headerTap: ((e: Any, column: Tabulator.ColumnComponent) -> Unit)?
open var headerTapHold: ((e: Any, column: Tabulator.ColumnComponent) -> Unit)?
open var headerTooltip: dynamic
open var headerVertical: dynamic
open var hideInHtml: Boolean?
open var minWidth: Number?
open var mutator: ((value: Any, data: Any, dynamic, mutatorParams: Any, cell: Tabulator.CellComponent?) -> Any)?
open var mutatorClipboard: ((value: Any, data: Any, dynamic, mutatorParams: Any, cell: Tabulator.CellComponent?) -> Any)?
open var mutatorClipboardParams: dynamic
open var mutatorData: ((value: Any, data: Any, dynamic, mutatorParams: Any, cell: Tabulator.CellComponent?) -> Any)?
open var mutatorDataParams: dynamic
open var mutatorEdit: ((value: Any, data: Any, dynamic, mutatorParams: Any, cell: Tabulator.CellComponent?) -> Any)?
open var mutatorEditParams: dynamic
open var mutatorParams: dynamic
open var resizable: Boolean?
open var responsive: Number?
open var rowHandle: Boolean?
open var sorter: dynamic
open var sorterParams: dynamic
open var titleFormatter: dynamic
open var titleFormatterParams: dynamic
open var tooltip: dynamic
open var topCalc: dynamic
open var topCalcFormatter: dynamic
open var topCalcFormatterParams: dynamic
open var topCalcParams: ((values: Any, data: Any) -> Any)?
open var validator: dynamic
open var variableHeight: Boolean?
open var widthGrow: Number?
open var widthShrink: Number?
interface ColumnDefinitionSorterParams
interface ColumnLayout
open var columnManager: Any
open fun copyToClipboard(type: dynamic): Unit
interface DateTimeDifferenceParams : Tabulator.DateTimeParams
interface DateTimeParams
open fun deleteColumn(column: dynamic): Unit
open fun deleteRow(row: dynamic): Unit
open fun deselectRow(row: dynamic): Unit
open fun destroy(): Unit
open fun download(downloadType: dynamic, fileName: String?, params: Tabulator.DownloadOptions?, set: String?): Unit
interface DownloadConfig
interface DownloadCSV
interface DownloadOptions : Tabulator.DownloadCSV, Tabulator.DownloadXLXS, Tabulator.DownloadPDF
interface DownloadPDF
open fun downloadToTab(downloadType: dynamic, fileName: String?, params: Tabulator.DownloadOptions?, set: String?): Unit
interface DownloadXLXS
open fun extendModule(name: String, property: String, values: Any): Unit
interface Filter
open var footerManager: Any
open fun getAjaxUrl(): String
open fun getCalcResults(): Any
open fun getColumn(column: dynamic): Tabulator.ColumnComponent
open fun getColumnDefinitions(): Array<Tabulator.ColumnDefinition>
open fun getColumnLayout(): Array<Tabulator.ColumnLayout>
open fun getColumns(includeColumnGroups: Boolean?): dynamic
open fun getData(activeOnly: Boolean?): Array<Any>
open fun getDataCount(activeOnly: Boolean?): Number
open fun getFilters(: Boolean): Array<Tabulator.Filter>
open fun getGroupedData(activeOnly: Boolean?): Any
open fun getGroups(): Array<Tabulator.GroupComponent>
open fun getHeaderFilters(): Array<Tabulator.Filter>
open fun getHistoryRedoSize(): dynamic
open fun getHistoryUndoSize(): dynamic
open fun getHtml(activeOnly: Boolean?, isStyled: Boolean?, htmlOutputConfig: dynamic): String
open fun getLang(locale: String?): Any
open fun getLocale(): String
open fun getPage(): dynamic
open fun getPageMax(): dynamic
open fun getPageSize(): Number
open fun getRow(row: dynamic): Tabulator.RowComponent
open fun getRowFromPosition(position: Number, activeOnly: Boolean?): Unit
open fun getRowPosition(row: dynamic, activeOnly: Boolean?): Number
open fun getRows(activeOnly: Boolean?): Array<Tabulator.RowComponent>
open fun getSelectedData(): Array<Any>
open fun getSelectedRows(): Array<Tabulator.RowComponent>
open fun getSorters(): Unit
interface GroupComponent
open fun hideColumn(column: dynamic): Unit
interface ImageParams
interface KeyBinding
interface LinkParams
open var modules: Any
interface MoneyParams
open fun moveRow(fromRow: dynamic, toRow: dynamic, placeAboveTarget: Boolean?): Unit
open fun navigateDown(): Unit
open fun navigateLeft(): Unit
open fun navigateNext(): Unit
open fun navigatePrev(): Unit
open fun navigateRight(): Unit
open fun navigateUp(): Unit
open fun nextPage(): Promise<Unit>
interface NumberParams
open var options: Tabulator.Options
interface Options : Tabulator.OptionsGeneral, Tabulator.OptionsHistory, Tabulator.OptionsLocale, Tabulator.OptionsDownload, Tabulator.OptionsColumns, Tabulator.OptionsRows, Tabulator.OptionsData, Tabulator.OptionsSorting, Tabulator.OptionsFiltering, Tabulator.OptionsRowGrouping, Tabulator.OptionsPagination, Tabulator.OptionsPersistentConfiguration, Tabulator.OptionsClipboard, Tabulator.OptionsDataTree, Tabulator.OptionsCell
interface OptionsCell
Module Contents
open var cellClick: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
open var cellContext: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
open var cellDblClick: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
open var cellDblTap: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
open var cellEditCancelled: ((cell: Tabulator.CellComponent) -> Unit)?
open var cellEdited: ((cell: Tabulator.CellComponent) -> Unit)?
open var cellEditing: ((cell: Tabulator.CellComponent) -> Unit)?
open var cellMouseEnter: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
open var cellMouseLeave: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
open var cellMouseMove: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
open var cellMouseOut: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
open var cellMouseOver: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
open var cellTap: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
open var cellTapHold: ((e: Any, cell: Tabulator.CellComponent) -> Unit)?
interface OptionsCells : Tabulator.CellCallbacks
interface OptionsClipboard
interface OptionsColumns
interface OptionsData
interface OptionsDataTree
interface OptionsDownload
interface OptionsFiltering
interface OptionsGeneral
interface OptionsHistory
interface OptionsLocale
interface OptionsPagination
interface OptionsPersistentConfiguration
interface OptionsRowGrouping
interface OptionsRows
Module Contents
open var addRowPos: dynamic
open var dataTreeRowCollapsed: ((row: Tabulator.RowComponent, level: Number) -> Unit)?
open var dataTreeRowExpanded: ((row: Tabulator.RowComponent, level: Number) -> Unit)?
open var movableRows: Boolean?
open var movableRowsConnectedTables: dynamic
open var movableRowsReceived: ((fromRow: Tabulator.RowComponent, toRow: Tabulator.RowComponent, fromTable: Tabulator) -> Unit)?
open var movableRowsReceivedFailed: ((fromRow: Tabulator.RowComponent, toRow: Tabulator.RowComponent, fromTable: Tabulator) -> Unit)?
open var movableRowsReceiver: dynamic
open var movableRowsReceivingStart: ((fromRow: Tabulator.RowComponent, toTable: Tabulator) -> Unit)?
open var movableRowsReceivingStop: ((fromTable: Tabulator) -> Unit)?
open var movableRowsSender: dynamic
open var movableRowsSendingStart: ((toTables: Array<Any>) -> Unit)?
open var movableRowsSendingStop: ((toTables: Array<Any>) -> Unit)?
open var movableRowsSent: ((fromRow: Tabulator.RowComponent, toRow: Tabulator.RowComponent, toTable: Tabulator) -> Unit)?
open var movableRowsSentFailed: ((fromRow: Tabulator.RowComponent, toRow: Tabulator.RowComponent, toTable: Tabulator) -> Unit)?
open var resizableRows: Boolean?
open var rowAdded: ((row: Tabulator.RowComponent) -> Unit)?
open var rowClick: ((e: Any, row: Tabulator.RowComponent) -> Unit)?
open var rowContext: ((e: Any, row: Tabulator.RowComponent) -> Unit)?
open var rowDblClick: ((e: Any, row: Tabulator.RowComponent) -> Unit)?
open var rowDblTap: ((e: Any, row: Tabulator.RowComponent) -> Unit)?
open var rowDeleted: ((row: Tabulator.RowComponent) -> Unit)?
open var rowDeselected: ((row: Tabulator.RowComponent) -> Unit)?
open var rowFormatter: ((row: Tabulator.RowComponent) -> Any)?
open var rowMouseEnter: ((e: Any, row: Tabulator.RowComponent) -> Unit)?
open var rowMouseLeave: ((e: Any, row: Tabulator.RowComponent) -> Unit)?
open var rowMouseMove: ((e: Any, row: Tabulator.RowComponent) -> Unit)?
open var rowMouseOut: ((e: Any, row: Tabulator.RowComponent) -> Unit)?
open var rowMouseOver: ((e: Any, row: Tabulator.RowComponent) -> Unit)?
open var rowMoved: ((row: Tabulator.RowComponent) -> Unit)?
open var rowResized: ((row: Tabulator.RowComponent) -> Unit)?
open var rowSelected: ((row: Tabulator.RowComponent) -> Unit)?
open var rowSelectionChanged: ((data: Array<Any>, rows: Array<Tabulator.RowComponent>) -> Unit)?
open var rowTap: ((e: Any, row: Tabulator.RowComponent) -> Unit)?
open var rowTapHold: ((e: Any, row: Tabulator.RowComponent) -> Unit)?
open var rowUpdated: ((row: Tabulator.RowComponent) -> Unit)?
open var scrollToRowIfVisible: Boolean?
open var scrollToRowPosition: dynamic
open var selectable: dynamic
open var selectableCheck: ((row: Tabulator.RowComponent) -> Boolean)?
open var selectablePersistence: Boolean?
open var selectableRangeMode: String?
open var selectableRollingSelection: Boolean?
interface OptionsSorting
open fun previousPage(): Promise<Unit>
open fun print(activeOnly: Boolean?, isStyled: Boolean?, printConfig: dynamic): Unit
interface ProgressBarParams : Tabulator.TrafficParams
open fun redo(): Boolean
open fun redraw(force: Boolean?): Unit
open fun removeFilter(field: String, type: dynamic, value: Any): Unit
open fun replaceData(data: dynamic, params: Any?, config: Any?): Promise<Unit>
interface RowComponent
open var rowManager: Any
open fun scrollToColumn(column: dynamic, position: dynamic, ifVisible: Boolean?): Promise<Unit>
open fun scrollToRow(row: dynamic, position: dynamic, ifVisible: Boolean?): Promise<Unit>
open fun searchData(field: String, type: dynamic, value: Any): Array<Any>
open fun searchRows(field: String, type: dynamic, value: Any): Array<Tabulator.RowComponent>
interface SelectLabelValue
interface SelectParams
interface SelectParamsGroup
open fun selectRow(row: dynamic): Unit
open fun setColumnLayout(layout: Tabulator.ColumnLayout): Unit
open fun setColumns(definitions: Array<Tabulator.ColumnDefinition>): Unit
open fun setData(data: dynamic, params: Any?, config: Any?): Promise<Unit>
open fun setDataFromLocalFile(extensions: String): Unit
open fun setFilter(p1: dynamic, p2: dynamic, value: Any?): Unit
open fun setGroupBy(groups: dynamic): Unit
open fun setGroupHeader(: dynamic): Unit
open fun setGroupStartOpen(values: dynamic): Unit
open fun setHeaderFilterFocus(column: dynamic): Unit
open fun setHeaderFilterValue(column: dynamic, : String): Unit
open fun setHeight(height: Number): Unit
open fun setLocale(locale: dynamic): Unit
open fun setMaxPage(max: Number): Unit
open fun setPage(page: dynamic): Promise<Unit>
open fun setPageSize(size: Number): Unit
open fun setPageToRow(row: dynamic): Promise<Unit>
open fun setSort(sortList: dynamic, dir: dynamic): Unit
open fun showColumn(column: dynamic): Unit
interface Sorter
interface StarRatingParams
interface TickCrossParams
open fun toggleColumn(column: dynamic): Unit
open fun toggleSelectRow(row: dynamic): Unit
interface TrafficParams
open fun undo(): Boolean
open fun updateData(data: Array<Any>): Promise<Unit>
open fun updateOrAddData(data: Array<Any>): Promise<Array<Tabulator.RowComponent>>
open fun updateOrAddRow(row: dynamic, data: Any): Promise<Tabulator.RowComponent>
open fun updateRow(row: dynamic, data: Any): Boolean
interface Validator
package pl.treksoft.kvision.toolbar
package pl.treksoft.kvision.types
package pl.treksoft.kvision.utils
package pl.treksoft.kvision.window
Module Contents
open class MaximizeIcon : Widget
open class MinimizeIcon : Widget
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, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, 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?
open fun close(): Unit
var closeButton: Boolean
var contentHeight: CssSize?
var contentOverflow: Overflow?
var contentWidth: CssSize?
open fun focus(): Unit
open fun getChildren(): List<Component>
var icon: String?
var isDraggable: Boolean
var isResizable: Boolean
var maximizeButton: Boolean
var minimizeButton: Boolean
open fun remove(child: Component): SimplePanel
open fun removeAll(): SimplePanel
open fun toFront(): Unit
open fun toggleMaximize(): Unit
open fun toggleMinimize(): 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, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, classes: Set<String> = setOf(), init: (Window.() -> Unit)? = null): Window