kvision
Module Contents
alltypes
Module Contents
interface AboutPanelOptionsOptions
abstract class AbstractText : SimplePanel, StringFormControl, ObservableState<String?>
abstract class AbstractTextInput : Widget, FormInput, ObservableState<String?>
open class Accelerator
typealias ActionCreator<A, S> = (Dispatch<A>, GetState<S>) -> Unit
interface AddRepresentationOptions
enum class AddRowMode
data class AjaxOptions
Module Contents
AjaxOptions(url: String? = null, preprocessData: ((dynamic) -> dynamic)? = null, beforeSend: ((JQueryXHR, JQueryAjaxSettings) -> 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, JQueryAjaxSettings) -> 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
interface AllElectron : MainInterface, RendererInterface
data class AnimationOptions
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: Error, icon: NativeImage) -> Unit): Unit
abstract fun getFileIcon(path: String, options: FileIconOptions, callback: (error: 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
interface AppDetailsOptions
abstract class Application
data class ArcOptions
interface AuthInfo
interface AutoResizeOptions
interface AutoUpdater : EventEmitter
Module Contents
abstract fun addListener(event: String, listener: Function<*>): AutoUpdater
abstract fun addListener(event: String, listener: (error: 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: 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: 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: 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(color: Color? = null, 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
class BatteryStatus
enum class BgAttach
enum class BgClip
enum class BgOrigin
enum class BgRepeat
enum class BgSize
interface BitmapOptions
interface BluetoothDevice
open class Bold : Tag
interface BoolFormControl : FormControl
class Border
enum class BorderStyle
class Browser
open class BrowserView : EventEmitter
interface BrowserViewConstructorOptions
open 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(): Buffer
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
interface BrowserWindowConstructorOptions
open class BrowserWindowProxy : EventEmitter
enum class BsBgColor
enum class BsBorder
enum class BsColor
enum class BsRounded
open class Button : SimplePanel
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: DestinationType? = null, sourceType: PictureSourceType? = null, allowEdit: Boolean? = null, encodingType: EncodingType? = null, targetWidth: Int? = null, targetHeight: Int? = null, mediaType: MediaType? = null, correctOrientation: Boolean? = null, saveToPhotoAlbum: Boolean? = null, popoverOptions: CameraPopoverOptions? = null, cameraDirection: Direction? = null)
val allowEdit: Boolean?
val cameraDirection: Direction?
val correctOrientation: Boolean?
val destinationType: DestinationType?
val encodingType: EncodingType?
val mediaType: MediaType?
val popoverOptions: CameraPopoverOptions?
val quality: Int?
val saveToPhotoAlbum: Boolean?
val sourceType: PictureSourceType?
val targetHeight: Int?
val targetWidth: Int?
open class Canvas : Widget
class CaptureException : Exception
open class Cell : Tag
interface Certificate
interface CertificatePrincipal
interface CertificateTrustDialogOptions
interface CertificateVerifyProcRequest
open class Chart : Widget
open class Chart
Module Contents
Chart(context: String, options: ChartConfiguration)
Chart(context: CanvasRenderingContext2D, options: ChartConfiguration)
Chart(context: HTMLCanvasElement, options: ChartConfiguration)
Chart(context: Array<dynamic>, options: ChartConfiguration)
interface AngleLineOptions
open var canvas: HTMLCanvasElement?
var Chart: Any?
interface ChartAnimationObject
interface ChartAnimationOptions
interface ChartAnimationParameter
interface ChartArcOptions
open var chartArea: ChartArea
interface ChartArea
interface ChartConfiguration
interface ChartData
interface ChartDataSets
interface ChartElementsOptions
interface ChartFontOptions
interface ChartHoverOptions
interface ChartLayoutOptions
interface ChartLayoutPaddingObject
interface ChartLegendItem
interface ChartLegendLabelItem : 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<ChartTooltipItem>, data: ChartData) -> dynamic)?
open val afterFooter: ((item: Array<ChartTooltipItem>, data: ChartData) -> dynamic)?
open val afterLabel: ((tooltipItem: ChartTooltipItem, data: ChartData) -> dynamic)?
open val afterTitle: ((item: Array<ChartTooltipItem>, data: ChartData) -> dynamic)?
open val beforeBody: ((item: Array<ChartTooltipItem>, data: ChartData) -> dynamic)?
open val beforeFooter: ((item: Array<ChartTooltipItem>, data: ChartData) -> dynamic)?
open val beforeLabel: ((tooltipItem: ChartTooltipItem, data: ChartData) -> dynamic)?
open val beforeTitle: ((item: Array<ChartTooltipItem>, data: ChartData) -> dynamic)?
open val footer: ((item: Array<ChartTooltipItem>, data: ChartData) -> dynamic)?
open val label: ((tooltipItem: ChartTooltipItem, data: ChartData) -> dynamic)?
open val labelColor: ((tooltipItem: ChartTooltipItem, chart: Chart) -> ChartTooltipLabelColor)?
open val labelTextColor: ((tooltipItem: ChartTooltipItem, chart: Chart) -> String)?
open val title: ((item: Array<ChartTooltipItem>, data: ChartData) -> dynamic)?
interface ChartTooltipItem
interface ChartTooltipLabelColor
interface ChartTooltipOptions
interface ChartTooltipsStaticConfiguration
interface ChartXAxe : CommonAxe
interface ChartYAxe : CommonAxe
open fun clear(): Any
interface CommonAxe
open var config: ChartConfiguration
var controllers: Json
open var ctx: CanvasRenderingContext2D?
open var data: 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 : ChartScales
interface LinearTickOptions : TickOptions
interface LogarithmicScale : ChartScales
interface LogarithmicTickOptions : TickOptions
interface NestedTickOptions
open var options: ChartOptions
var plugins: PluginServiceStatic
var pluginService: PluginServiceStatic
interface Point
interface PointLabelOptions
interface Positioners
interface RadialChartOptions : ChartOptions
interface RadialLinearScale : 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 : NestedTickOptions
interface TimeDisplayFormat
interface TimeScale : ChartScales
open fun toBase64Image(): String
var Tooltip: 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: 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: 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, ObservableState<Boolean>
open class CheckBoxInput : CheckInput
enum class CheckBoxStyle
abstract class CheckInput : Widget, FormInput, ObservableState<Boolean>
enum class CheckInputType
enum class Clear
interface ClearStorageDataOptions
open 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: 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: Buffer? = 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: 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: 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: 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: Buffer, encoding: String? = definedExternally, callback: Function<*>? = definedExternally): Unit
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): Buffer
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: Buffer, 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: CellComponent) -> String)? = null, cssClass: String? = null, rowHandle: Boolean? = null, hideInHtml: Boolean? = null, sorter: Sorter? = null, sorterFunction: ((dynamic, dynamic, aRow: RowComponent, bRow: RowComponent, column: ColumnComponent, dir: SortingDir, dynamic) -> Number)? = null, sorterParams: dynamic = null, formatter: Formatter? = null, formatterFunction: ((cell: CellComponent, dynamic, onRendered: (callback: () -> Unit) -> Unit) -> dynamic)? = null, formatterComponentFunction: ((cell: CellComponent, onRendered: (callback: () -> Unit) -> Unit, data: T) -> Component)? = null, formatterParams: dynamic = null, variableHeight: Boolean? = null, editable: ((cell: CellComponent) -> Boolean)? = null, editor: Editor? = null, editorFunction: ((cell: CellComponent, onRendered: (callback: () -> Unit) -> Unit, success: (dynamic) -> Unit, cancel: (dynamic) -> Unit, dynamic) -> dynamic)? = null, editorComponentFunction: ((cell: 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: ColumnComponent) -> Unit)? = null, headerDblClick: ((dynamic, column: ColumnComponent) -> Unit)? = null, headerContext: ((dynamic, column: ColumnComponent) -> Unit)? = null, headerTap: ((dynamic, column: ColumnComponent) -> Unit)? = null, headerDblTap: ((dynamic, column: ColumnComponent) -> Unit)? = null, headerTapHold: ((dynamic, column: ColumnComponent) -> Unit)? = null, headerTooltip: ((column: 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: CellComponent) -> Unit)? = null, cellDblClick: ((dynamic, cell: CellComponent) -> Unit)? = null, cellContext: ((dynamic, cell: CellComponent) -> Unit)? = null, cellTap: ((dynamic, cell: CellComponent) -> Unit)? = null, cellDblTap: ((dynamic, cell: CellComponent) -> Unit)? = null, cellTapHold: ((dynamic, cell: CellComponent) -> Unit)? = null, cellMouseEnter: ((dynamic, cell: CellComponent) -> Unit)? = null, cellMouseLeave: ((dynamic, cell: CellComponent) -> Unit)? = null, cellMouseOver: ((dynamic, cell: CellComponent) -> Unit)? = null, cellMouseOut: ((dynamic, cell: CellComponent) -> Unit)? = null, cellMouseMove: ((dynamic, cell: CellComponent) -> Unit)? = null, cellEditing: ((cell: CellComponent) -> Unit)? = null, cellEdited: ((cell: CellComponent) -> Unit)? = null, cellEditCancelled: ((cell: CellComponent) -> Unit)? = null, headerMenu: dynamic = null, headerContextMenu: dynamic = null, contextMenu: dynamic = null, hozAlign: Align? = null, vertAlign: VAlign? = null)
val align: Align?
val bottomCalc: Calc?
val bottomCalcFormatter: Formatter?
val bottomCalcFormatterParams: dynamic
val bottomCalcParams: dynamic
val cellClick: ((dynamic, cell: CellComponent) -> Unit)?
val cellContext: ((dynamic, cell: CellComponent) -> Unit)?
val cellDblClick: ((dynamic, cell: CellComponent) -> Unit)?
val cellDblTap: ((dynamic, cell: CellComponent) -> Unit)?
val cellEditCancelled: ((cell: CellComponent) -> Unit)?
val cellEdited: ((cell: CellComponent) -> Unit)?
val cellEditing: ((cell: CellComponent) -> Unit)?
val cellMouseEnter: ((dynamic, cell: CellComponent) -> Unit)?
val cellMouseLeave: ((dynamic, cell: CellComponent) -> Unit)?
val cellMouseMove: ((dynamic, cell: CellComponent) -> Unit)?
val cellMouseOut: ((dynamic, cell: CellComponent) -> Unit)?
val cellMouseOver: ((dynamic, cell: CellComponent) -> Unit)?
val cellTap: ((dynamic, cell: CellComponent) -> Unit)?
val cellTapHold: ((dynamic, cell: CellComponent) -> Unit)?
val columns: List<ColumnDefinition<T>>?
val contextMenu: dynamic
val cssClass: String?
val download: Boolean?
val downloadTitle: String?
val editable: ((cell: CellComponent) -> Boolean)?
val editableTitle: Boolean?
val editor: Editor?
val editorComponentFunction: ((cell: CellComponent, onRendered: (callback: () -> Unit) -> Unit, success: (dynamic) -> Unit, cancel: (dynamic) -> Unit, data: T) -> Component)?
val editorFunction: ((cell: 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: CellComponent, onRendered: (callback: () -> Unit) -> Unit, data: T) -> Component)?
val formatterFunction: ((cell: CellComponent, dynamic, onRendered: (callback: () -> Unit) -> Unit) -> dynamic)?
val formatterParams: dynamic
val frozen: Boolean?
val headerClick: ((dynamic, column: ColumnComponent) -> Unit)?
val headerContext: ((dynamic, column: ColumnComponent) -> Unit)?
val headerContextMenu: dynamic
val headerDblClick: ((dynamic, column: ColumnComponent) -> Unit)?
val headerDblTap: ((dynamic, column: 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 headerMenu: dynamic
val headerSort: Boolean?
val headerSortStartingDir: SortingDir?
val headerSortTristate: Boolean?
val headerTap: ((dynamic, column: ColumnComponent) -> Unit)?
val headerTapHold: ((dynamic, column: ColumnComponent) -> Unit)?
val headerTooltip: ((column: ColumnComponent) -> String)?
val headerVertical: Boolean?
val hideInHtml: Boolean?
val hozAlign: Align?
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: RowComponent, bRow: RowComponent, column: ColumnComponent, dir: SortingDir, dynamic) -> Number)?
val sorterParams: dynamic
val title: String
val titleFormatter: Formatter?
val titleFormatterParams: dynamic
val tooltip: ((cell: 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 vertAlign: VAlign?
val visible: Boolean?
val width: String?
val widthGrow: Int?
val widthShrink: Int?
enum class ColumnPosition
interface CommandLine
interface CommonInterface
interface Component
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
interface ConsoleMessageEvent : Event
interface Container : Component
enum class ContainerType
interface ContentTracing : EventEmitter
open class ContextMenu : Div
interface ContextMenuParams
interface Cookie
open 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: 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: Error) -> Unit): Unit
class Coordinates
enum class CordovaEvent
interface CPUUsage
interface CrashReport
interface CrashReporter : EventEmitter
interface CrashReporterStartOptions
interface CreateFromBufferOptions
interface CreateInterruptedDownloadOptions
data class Credentials
typealias CssSize = Pair<Number, UNIT>
enum class Cursor
open class CustomTag : Tag
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, ObservableState<Date?>
open class DateTimeInput : SimplePanel, FormInput, ObservableState<Date?>
enum class DD
open 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
Decimal
interface DefaultFontFamily
class DefaultI18nManager : I18nManager
interface Defaults
interface DesktopCapturer : EventEmitter
interface DesktopCapturerSource
interface Details
class Device
interface DevToolsExtensions
open class Dialog<R> : Modal
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
interface DidChangeThemeColorEvent : Event
interface DidFailLoadEvent : Event
interface DidFrameFinishLoadEvent : Event
interface DidGetRedirectRequestEvent : Event
interface DidGetResponseDetailsEvent : Event
interface DidNavigateEvent : Event
interface DidNavigateInPageEvent : Event
enum class Direction
enum class Direction
enum class Direction
interface DirectoryEntry : Entry
interface DirectoryEntryCallback
interface DirectoryEntrySync : EntrySync
interface DirectoryReader
interface DirectoryReaderSync
typealias Dispatch<A> = (A) -> Unit
enum class Display
interface Display
interface DisplayBalloonOptions
open class Div : Tag
interface Dock
open class DockPanel : SimplePanel
data class DownloadConfig
open 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
enum class Easing
interface EditFlags
enum class Editor
enum class Eeasing
data class ElementsOptions
interface EnableNetworkEmulationOptions
interface EntriesCallback
interface Entry
interface EntryCallback
interface EntrySync
interface ErrorCallback
interface Event
open class EventEmitter
interface EventListenerObject
interface Extensions
interface Extra
interface FeedURLOptions
open class FieldLabel : Tag
open class Fieldset : Tag
open class FieldsetPanel : SimplePanel
object File
interface FileCallback
interface FileEntry : Entry
interface FileEntryCallback
interface FileEntrySync : EntrySync
class FileException : Exception
interface FileFilter
interface FileIconOptions
interface FileSaver : EventTarget
interface FileSystem
interface FileSystemCallback
interface FileSystemSync
interface FileWriter : FileSaver
interface FileWriterCallback
interface FileWriterSync
interface Filter
enum class Filter
interface FindInPageOptions
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>? = null, 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(markFields: Boolean = true): 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>? = null, 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(markFields: Boolean = true): Boolean
var validator: ((Form<K>) -> Boolean?)?
var validatorMessage: ((Form<K>) -> String?)?
enum class FormTarget
enum class FormType
interface FoundInPageEvent : Event
interface FoundInPageResult
interface FromPartitionOptions
object Geolocation
class GeolocationException : Exception
typealias GetState<S> = () -> S
interface GlobalShortcut : EventEmitter
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
interface Header
open class Header : Tag
open class HeaderCell : Tag
interface Headers
open class HelpText : Tag
interface Hot
data class HoverOptions
open class HPanel : FlexPanel
enum class HttpMethod
enum class HttpMethod
enum class HttpType
enum class HttpType
object I18n : I18nManager
interface I18nManager
open class Icon : Tag
open class Iframe : Widget
interface IgnoreMouseEventsOptions
open class Image : Widget
enum class ImageShape
interface ImportCertificateOptions
object InAppBrowser
class InAppBrowserEvent
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 class IncomingMessage : EventEmitter
Module Contents
IncomingMessage()
open fun addListener(event: String, listener: Function<*>): IncomingMessage
open fun addListener(event: String, listener: (chunk: Buffer) -> 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: (chunk: Buffer) -> 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: (chunk: Buffer) -> 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: (chunk: Buffer) -> 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
interface Input
enum class InputSize
enum class InteractionMode
interface InterceptBufferProtocolRequest
interface InterceptFileProtocolRequest
interface InterceptHttpProtocolRequest
interface InterceptStreamProtocolRequest
interface InterceptStringProtocolRequest
enum class InterpolationMode
open class InvalidFeedback : Tag
interface IOCounters
interface IpcMain : EventEmitter
interface IpcMessageEvent : Event
interface IpcRenderer : EventEmitter
interface Item
class Jed
object JSON
object JSON
data class JsonRpcRequest
data class JsonRpcResponse
interface JumpListCategory
interface JumpListItem
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
kotlin.String
@Target([AnnotationTarget.FUNCTION]) annotation class KVBinding
@Target([AnnotationTarget.FUNCTION]) annotation class KVBindingMethod
@Target([AnnotationTarget.FUNCTION]) annotation class KVBindingRoute
class KvEvent : CustomEvent
object KVManager
open class KVRemoteAgent<T : Any> : RemoteAgent
Module Contents
KVRemoteAgent(serviceManager: KVServiceMgr<T>, beforeSend: ((JQueryXHR, JQueryAjaxSettings) -> Boolean)? = null)
val beforeSend: ((JQueryXHR, JQueryAjaxSettings) -> Boolean)?
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>
suspend inline fun <reified PAR1, reified PAR2, reified PAR3, reified PAR4, reified PAR5, reified PAR6, reified RET : Any, T> call(noinline function: suspend T.(PAR1, PAR2, PAR3, PAR4, PAR5, PAR6) -> RET, p1: PAR1, p2: PAR2, p3: PAR3, p4: PAR4, p5: PAR5, p6: PAR6): RET
suspend inline fun <reified PAR1, reified PAR2, reified PAR3, reified PAR4, reified PAR5, reified PAR6, reified RET : Any, T> call(noinline function: suspend T.(PAR1, PAR2, PAR3, PAR4, PAR5, PAR6) -> List<RET>, p1: PAR1, p2: PAR2, p3: PAR3, p4: PAR4, p5: PAR5, p6: PAR6): List<RET>
val callAgent: CallAgent
val serviceManager: KVServiceMgr<T>
suspend inline fun <reified PAR1 : Any, reified PAR2 : Any> webSocket(noinline function: suspend T.(ReceiveChannel<PAR1>, SendChannel<PAR2>) -> Unit, noinline handler: suspend (SendChannel<PAR1>, ReceiveChannel<PAR2>) -> Unit): Unit
suspend inline fun <reified PAR1 : Any, reified PAR2 : Any> webSocket(noinline function: suspend T.(ReceiveChannel<PAR1>, SendChannel<List<PAR2>>) -> Unit, noinline handler: suspend (SendChannel<PAR1>, ReceiveChannel<List<PAR2>>) -> Unit): Unit
@Target([AnnotationTarget.CLASS]) annotation class KVService
open class KVServiceManager<T : Any>
Module Contents
KVServiceManager(serviceClass: KClass<T>)
protected inline fun <reified RET> bind(noinline function: suspend T.() -> RET, method: HttpMethod = HttpMethod.POST, route: String? = null): Unit
protected inline fun <reified PAR, reified RET> bind(noinline function: suspend T.(PAR) -> RET, method: HttpMethod = HttpMethod.POST, route: String? = null): Unit
protected inline fun <reified PAR1, reified PAR2, reified RET> bind(noinline function: suspend T.(PAR1, PAR2) -> RET, method: HttpMethod = HttpMethod.POST, route: String? = null): Unit
protected inline fun <reified PAR1, reified PAR2, reified PAR3, reified RET> bind(noinline function: suspend T.(PAR1, PAR2, PAR3) -> RET, method: HttpMethod = HttpMethod.POST, route: String? = null): Unit
protected inline fun <reified PAR1, reified PAR2, reified PAR3, reified PAR4, reified RET> bind(noinline function: suspend T.(PAR1, PAR2, PAR3, PAR4) -> RET, method: HttpMethod = HttpMethod.POST, route: String? = null): Unit
protected 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 = HttpMethod.POST, route: String? = null): Unit
protected inline fun <reified PAR1, reified PAR2, reified PAR3, reified PAR4, reified PAR5, reified PAR6, reified RET> bind(noinline function: suspend T.(PAR1, PAR2, PAR3, PAR4, PAR5, PAR6) -> RET, method: HttpMethod = HttpMethod.POST, route: String? = null): Unit
protected inline fun <reified PAR1 : Any, reified PAR2 : Any> bind(noinline function: suspend T.(ReceiveChannel<PAR1>, SendChannel<PAR2>) -> Unit, route: String? = null): Unit
protected inline fun <reified RET> bindTabulatorRemote(noinline function: suspend T.(Int?, Int?, List<RemoteFilter>?, List<RemoteSorter>?, String?) -> RemoteData<RET>, route: String? = null): Unit
protected val calls: MutableMap<String, Pair<String, HttpMethod>>
var counter: Int
open fun getCalls(): Map<String, Pair<String, HttpMethod>>
interface KVServiceMgr<T : Any>
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: ChartLegendLabelItem, data: ChartData) -> Any)? = null, usePointStyle: Boolean = false)
val boxWidth: Int
val filter: ((legendItem: ChartLegendLabelItem, data: 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: ChartLegendLabelItem) -> Unit)? = null, onHover: ((event: MouseEvent, legendItem: ChartLegendLabelItem) -> Unit)? = null, labels: LegendLabelOptions? = null)
val display: Boolean
val fullWidth: Boolean
val labels: LegendLabelOptions?
val onClick: ((event: MouseEvent, legendItem: ChartLegendLabelItem) -> Unit)?
val onHover: ((event: MouseEvent, legendItem: ChartLegendLabelItem) -> Unit)?
val position: Position
val reverse: Boolean
open class Li : Tag
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
interface LoadCommitEvent : Event
interface LoadURLOptions
LocalDate
LocalDateTime
object LocalFileSystem
object LocalFileSystemSync
LocalTime
object Locationservices
Module Contents
fun clearWatch(watchId: String): Unit
suspend fun getCurrentPosition(enableHighAccuracy: Boolean = true, timeout: Number? = null, maximumAge: Number? = null, priority: 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: Priority? = null, interval: Number? = null, fastInterval: Number? = null, resultCallback: (Result<Position, GeolocationException>) -> Unit): String?
interface LoginItemSettings
interface LoginItemSettingsOptions
class LoginService
open class Main : Tag
interface MainInterface : CommonInterface
open class Maps : Widget
open class MaximizeIcon : Widget
class Media
object MediaCapture
class MediaError
class MediaFile
class MediaFileData
interface MediaFlags
interface MemoryInfo
interface MemoryUsageDetails
open class Menu
open class MenuItem
interface MenuItemConstructorOptions
interface MessageBoxOptions
interface Meta
interface MetaData
interface Metadata
interface MetadataCallback
enum class Method
interface MimeTypedBuffer
open class MinimizeIcon : Widget
open class Modal : SimplePanel
enum class ModalSize
interface Model
interface Module
open 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 class NativeImage
open class Nav : Div
open class Nav : Tag
open class Navbar : SimplePanel
enum class NavbarColor
enum class NavbarExpand
enum class NavbarType
open class NavForm : Tag
interface Net : EventEmitter
object Network
interface NewWindowEvent : Event
class Node<T>
class NotEnumTypeException : Exception
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 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
interface NotificationAction
interface NotificationConstructorOptions
class NotStandardTypeException : Exception
interface NumberFormControl : FormControl
class Object
class Object
interface ObservableList<T> : MutableList<T>, ObservableState<List<T>>
class ObservableListWrapper<T> : MutableList<T>, ObservableList<T>, ObservableState<List<T>>
interface ObservableSet<T> : MutableSet<T>, ObservableState<Set<T>>
class ObservableSetWrapper<T> : MutableSet<T>, ObservableSet<T>, ObservableState<Set<T>>
interface ObservableState<S>
class ObservableValue<T> : ObservableState<T>
OffsetDateTime
OffsetTime
open class Ol : ListTag
interface OnBeforeRedirectDetails
interface OnBeforeRedirectFilter
interface OnBeforeRequestDetails
interface OnBeforeRequestFilter
interface OnBeforeSendHeadersFilter
interface OnCompletedDetails
interface OnCompletedFilter
interface OnErrorOccurredDetails
interface OnErrorOccurredFilter
interface OnHeadersReceivedFilter
interface OnResponseStartedDetails
interface OnResponseStartedFilter
interface OnSendHeadersDetails
interface OnSendHeadersFilter
interface OpenDevToolsOptions
interface OpenDialogOptions
interface OpenExternalOptions
interface Options
org.khronos.webgl.ArrayBuffer
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)
interface PageFaviconUpdatedEvent : Event
interface PageTitleUpdatedEvent : Event
enum class PaginationMode
interface Parameters
open class Password : Text
interface Payment
class PendingResult
interface PermissionRequestHandlerDetails
enum class Placement
interface PluginCrashedEvent : Event
interface PluginServiceGlobalRegistration
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: ChartSize, options: Any?) -> Unit)?
open class PluginServiceStatic
interface Point
data class PointOptions
enum class PointStyle
data class PopoverOptions
interface PopupOptions
enum class PosFloat
enum class Position
enum class Position
class Position
enum class PositionError
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
interface PowerSaveBlocker : EventEmitter
interface PrinterInfo
interface PrintOptions
interface PrintToPDFOptions
interface Process : EventEmitter
interface ProcessMemoryInfo
interface ProcessMetric
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?
interface ProgressBarOptions
enum class ProgressBarStyle
enum class ProgressiveMode
class PromptResponse
interface Protocol : EventEmitter
Module Contents
abstract fun interceptBufferProtocol(scheme: String, handler: (request: InterceptBufferProtocolRequest, callback: (buffer: Buffer?) -> Unit) -> Unit, completion: ((error: Error) -> Unit)? = definedExternally): Unit
abstract fun interceptFileProtocol(scheme: String, handler: (request: InterceptFileProtocolRequest, callback: (filePath: String) -> Unit) -> Unit, completion: ((error: Error) -> Unit)? = definedExternally): Unit
abstract fun interceptHttpProtocol(scheme: String, handler: (request: InterceptHttpProtocolRequest, callback: (redirectRequest: RedirectRequest) -> Unit) -> Unit, completion: ((error: Error) -> Unit)? = definedExternally): Unit
abstract fun interceptStreamProtocol(scheme: String, handler: (request: InterceptStreamProtocolRequest, callback: (dynamic) -> Unit) -> Unit, completion: ((error: Error) -> Unit)? = definedExternally): Unit
abstract fun interceptStringProtocol(scheme: String, handler: (request: InterceptStringProtocolRequest, callback: (data: String?) -> Unit) -> Unit, completion: ((error: Error) -> Unit)? = definedExternally): Unit
abstract fun isProtocolHandled(scheme: String, callback: (error: Error) -> Unit): Unit
abstract fun registerBufferProtocol(scheme: String, handler: (request: RegisterBufferProtocolRequest, callback: (dynamic) -> Unit) -> Unit, completion: ((error: Error) -> Unit)? = definedExternally): Unit
abstract fun registerFileProtocol(scheme: String, handler: (request: RegisterFileProtocolRequest, callback: (filePath: String?) -> Unit) -> Unit, completion: ((error: Error) -> Unit)? = definedExternally): Unit
abstract fun registerHttpProtocol(scheme: String, handler: (request: RegisterHttpProtocolRequest, callback: (redirectRequest: RedirectRequest) -> Unit) -> Unit, completion: ((error: 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: Error) -> Unit)? = definedExternally): Unit
abstract fun registerStringProtocol(scheme: String, handler: (request: RegisterStringProtocolRequest, callback: (data: String?) -> Unit) -> Unit, completion: ((error: Error) -> Unit)? = definedExternally): Unit
abstract fun uninterceptProtocol(scheme: String, completion: ((error: Error) -> Unit)? = definedExternally): Unit
abstract fun unregisterProtocol(scheme: String, completion: ((error: Error) -> Unit)? = definedExternally): Unit
interface Provider
interface RAction
open class Radio : SimplePanel, BoolFormControl, ObservableState<Boolean>
open class RadioGroup : SimplePanel, StringFormControl, ObservableState<String?>
open class RadioGroupInput : SimplePanel, FormInput, ObservableState<String?>
open class RadioInput : CheckInput
enum class RadioStyle
open class Range : SimplePanel, NumberFormControl, ObservableState<Number?>
open class RangeInput : Widget, FormInput, ObservableState<Number?>
enum class RangeMode
class React<S> : Widget, ObservableState<S>
interface ReadBookmark
interface Rectangle
data class RectangleOptions
interface RedirectRequest
typealias ReducerFun<S, A> = (S, A) -> S
class ReduxStore<S : Any, A : RAction> : ObservableState<S>
interface RegisterBufferProtocolRequest
interface RegisterFileProtocolRequest
interface RegisterHttpProtocolRequest
interface RegisterStandardSchemesOptions
interface RegisterStreamProtocolRequest
interface RegisterStringProtocolRequest
interface RegisterURLSchemeAsPrivilegedOptions
interface RelaunchOptions
interface Remote : MainInterface
interface RemoteAgent
data class RemoteData<T>
data class RemoteFilter
data class RemoteOption
data class RemoteSorter
interface RemoveClientCertificate
interface RemovePassword
interface RendererInterface : CommonInterface
interface Request
interface RequestHeaders
enum class Resize
interface ResizeOptions
interface ResourceUsage
interface Response
data class Response<T>
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 : Exception>
interface Result
class ResumeEvent
open class RichText : AbstractText
open class RichTextInput : AbstractTextInput
class Root : SimplePanel
Module Contents
Root(id: String, containerType: ContainerType = ContainerType.FLUID, addRow: Boolean = containerType != ContainerType.FIXED, init: (Root.() -> Unit)? = null)
Root(element: HTMLElement, containerType: ContainerType = ContainerType.FLUID, addRow: Boolean = containerType != ContainerType.FIXED, init: (Root.() -> Unit)? = null)
Root(id: String, fixed: Boolean = false, containerType: ContainerType = if (fixed) ContainerType.FIXED else ContainerType.FLUID, addRow: Boolean = !fixed, init: (Root.() -> Unit)? = null)
Root(element: HTMLElement, fixed: Boolean = false, containerType: ContainerType = if (fixed) ContainerType.FIXED else ContainerType.FLUID, addRow: Boolean = !fixed, init: (Root.() -> Unit)? = null)
fun addContextMenu(: Widget): Unit
fun getRoot(): Root?
protected fun getSnClass(): List<StringBoolPair>
val isFirstRoot: Boolean
protected fun render(): VNode
open class Routing : Navigo
open class Row : Tag
enum class RowPos
enum class RowPosition
enum class Sandbox
interface SaveDialogOptions
enum class ScalesType
data class ScaleTitleOptions
enum class Scope
object Screen
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
interface ScrubberItem
open class Section : Tag
class SecurityException : Exception
abstract class SecurityMgr
interface SegmentedControlSegment
open class Select : SimplePanel, StringFormControl, ObservableState<String?>
enum class SelectDropdownAlign
open class SelectInput : SimplePanel, FormInput, ObservableState<String?>
interface SelectionArea
open class SelectOptGroup : SimplePanel
open class SelectOption : Widget
open class SelectRemote<T : Any> : SimplePanel, StringFormControl, ObservableState<String?>
Module Contents
SelectRemote(serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<RemoteOption>, 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 getState(): String?
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 removeEventListener(id: Int): Widget
open fun removeEventListeners(): Widget
var rich: Boolean
var selectWidth: CssSize?
var selectWidthType: SelectWidthType?
open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Int
open fun showOptions(): Unit
var style: ButtonStyle?
open fun subscribe(observer: (String?) -> Unit): () -> Unit
open fun toggleOptions(): Unit
open var value: String?
open class SelectRemoteInput<T : Any> : SelectInput
enum class SelectWidthType
open class Separator : Div
class ServiceException : Exception
open 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: (result: Buffer) -> 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
interface Settings
interface Shell
interface ShortcutDetails
enum class ShowHintOnFocus
enum class Side
enum class SideTabSize
class SimpleI18nManager : I18nManager
open class SimplePanel : Widget, Container
open class SimpleSelect : SimplePanel, StringFormControl, ObservableState<String?>
open class SimpleSelectInput : SimplePanel, FormInput, ObservableState<String?>
interface Size
interface SizeOptions
class Socket
class SocketClosedException : Throwable
enum class Sorter
enum class SorterType
enum class SortingDir
interface SourcesOptions
open class Span : Tag
open class Spinner : SimplePanel, NumberFormControl, ObservableState<Number?>
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 getState(): Number?
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 removeEventListener(id: Int): Widget
open fun removeEventListeners(): Widget
var rich: Boolean
open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Int
open fun spinDown(): Spinner
open fun spinUp(): Spinner
var startValue: Number?
var step: Number
open fun styleForHorizontalFormPanel(horizontalRatio: FormHorizontalRatio): Unit
open fun subscribe(observer: (Number?) -> Unit): () -> Unit
open var validatorError: String?
open var value: Number?
open class SpinnerInput : Widget, FormInput, ObservableState<Number?>
object Splashscreen
open class SplitPanel : SimplePanel
open class StackPanel : SimplePanel
interface StartMonitoringOptions
interface StartRecordingOptions
class StateBinding<S : Any, CONT : Container, CONTENT> : Widget
object StatusBar
interface StreamProtocolResponse
typealias StringBoolPair = Pair<String, Boolean>
interface StringFormControl : FormControl
typealias StringPair = Pair<String, String>
open class Style : StyledComponent
abstract class StyledComponent
class SystemDirs
interface SystemMemoryInfo
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: 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): 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<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 class Tabulator
Module Contents
Tabulator(selector: String, options: Options? = definedExternally)
Tabulator(selector: HTMLElement, options: Options? = definedExternally)
open fun addColumn(definition: ColumnDefinition, insertRightOfTarget: Boolean?, positionTarget: dynamic): Unit
open fun addData(data: Array<Any>?, addToTop: Boolean?, positionTarget: dynamic): Promise<RowComponent>
open fun addFilter(field: String, type: dynamic, value: Any): Unit
open fun addRow(data: Any?, addToTop: Boolean?, positionTarget: dynamic): Promise<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: CellComponent) -> Unit)?
open var cellContext: ((e: Any, cell: CellComponent) -> Unit)?
open var cellDblClick: ((e: Any, cell: CellComponent) -> Unit)?
open var cellDblTap: ((e: Any, cell: CellComponent) -> Unit)?
open var cellEditCancelled: ((cell: CellComponent) -> Unit)?
open var cellEdited: ((cell: CellComponent) -> Unit)?
open var cellEditing: ((cell: CellComponent) -> Unit)?
open var cellMouseEnter: ((e: Any, cell: CellComponent) -> Unit)?
open var cellMouseLeave: ((e: Any, cell: CellComponent) -> Unit)?
open var cellMouseMove: ((e: Any, cell: CellComponent) -> Unit)?
open var cellMouseOut: ((e: Any, cell: CellComponent) -> Unit)?
open var cellMouseOver: ((e: Any, cell: CellComponent) -> Unit)?
open var cellTap: ((e: Any, cell: CellComponent) -> Unit)?
open var cellTapHold: ((e: Any, cell: 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 : ColumnLayout, CellCallbacks
Module Contents
open var accessor: ((value: Any, data: Any, dynamic, AccessorParams: Any, column: ColumnComponent?) -> Any)?
open var accessorClipboard: ((value: Any, data: Any, dynamic, AccessorParams: Any, column: ColumnComponent?) -> Any)?
open var accessorClipboardParams: dynamic
open var accessorDownload: ((value: Any, data: Any, dynamic, AccessorParams: Any, column: 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: ColumnComponent) -> Unit)?
open var headerContext: ((e: Any, column: ColumnComponent) -> Unit)?
open var headerDblClick: ((e: Any, column: ColumnComponent) -> Unit)?
open var headerDblTap: ((e: Any, column: 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: ColumnComponent) -> Unit)?
open var headerTapHold: ((e: Any, column: 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: CellComponent?) -> Any)?
open var mutatorClipboard: ((value: Any, data: Any, dynamic, mutatorParams: Any, cell: CellComponent?) -> Any)?
open var mutatorClipboardParams: dynamic
open var mutatorData: ((value: Any, data: Any, dynamic, mutatorParams: Any, cell: CellComponent?) -> Any)?
open var mutatorDataParams: dynamic
open var mutatorEdit: ((value: Any, data: Any, dynamic, mutatorParams: Any, cell: 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 : 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: DownloadOptions?, set: String?): Unit
interface DownloadConfig
interface DownloadCSV
interface DownloadOptions : DownloadCSV, DownloadXLXS, DownloadPDF
interface DownloadPDF
open fun downloadToTab(downloadType: dynamic, fileName: String?, params: 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): ColumnComponent
open fun getColumnDefinitions(): Array<ColumnDefinition>
open fun getColumnLayout(): Array<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<Filter>
open fun getGroupedData(activeOnly: Boolean?): Any
open fun getGroups(): Array<GroupComponent>
open fun getHeaderFilters(): Array<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): RowComponent
open fun getRowFromPosition(position: Number, activeOnly: Boolean?): Unit
open fun getRowPosition(row: dynamic, activeOnly: Boolean?): Number
open fun getRows(activeOnly: Boolean?): Array<RowComponent>
open fun getSelectedData(): Array<Any>
open fun getSelectedRows(): Array<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: Options
interface Options : OptionsGeneral, OptionsHistory, OptionsLocale, OptionsDownload, OptionsColumns, OptionsRows, OptionsData, OptionsSorting, OptionsFiltering, OptionsRowGrouping, OptionsPagination, OptionsPersistentConfiguration, OptionsClipboard, OptionsDataTree, OptionsCell
interface OptionsCell
Module Contents
open var cellClick: ((e: Any, cell: CellComponent) -> Unit)?
open var cellContext: ((e: Any, cell: CellComponent) -> Unit)?
open var cellDblClick: ((e: Any, cell: CellComponent) -> Unit)?
open var cellDblTap: ((e: Any, cell: CellComponent) -> Unit)?
open var cellEditCancelled: ((cell: CellComponent) -> Unit)?
open var cellEdited: ((cell: CellComponent) -> Unit)?
open var cellEditing: ((cell: CellComponent) -> Unit)?
open var cellMouseEnter: ((e: Any, cell: CellComponent) -> Unit)?
open var cellMouseLeave: ((e: Any, cell: CellComponent) -> Unit)?
open var cellMouseMove: ((e: Any, cell: CellComponent) -> Unit)?
open var cellMouseOut: ((e: Any, cell: CellComponent) -> Unit)?
open var cellMouseOver: ((e: Any, cell: CellComponent) -> Unit)?
open var cellTap: ((e: Any, cell: CellComponent) -> Unit)?
open var cellTapHold: ((e: Any, cell: CellComponent) -> Unit)?
interface OptionsCells : 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: RowComponent, level: Number) -> Unit)?
open var dataTreeRowExpanded: ((row: RowComponent, level: Number) -> Unit)?
open var movableRows: Boolean?
open var movableRowsConnectedTables: dynamic
open var movableRowsReceived: ((fromRow: RowComponent, toRow: RowComponent, fromTable: Tabulator) -> Unit)?
open var movableRowsReceivedFailed: ((fromRow: RowComponent, toRow: RowComponent, fromTable: Tabulator) -> Unit)?
open var movableRowsReceiver: dynamic
open var movableRowsReceivingStart: ((fromRow: 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: RowComponent, toRow: RowComponent, toTable: Tabulator) -> Unit)?
open var movableRowsSentFailed: ((fromRow: RowComponent, toRow: RowComponent, toTable: Tabulator) -> Unit)?
open var resizableRows: Boolean?
open var rowAdded: ((row: RowComponent) -> Unit)?
open var rowClick: ((e: Any, row: RowComponent) -> Unit)?
open var rowContext: ((e: Any, row: RowComponent) -> Unit)?
open var rowDblClick: ((e: Any, row: RowComponent) -> Unit)?
open var rowDblTap: ((e: Any, row: RowComponent) -> Unit)?
open var rowDeleted: ((row: RowComponent) -> Unit)?
open var rowDeselected: ((row: RowComponent) -> Unit)?
open var rowFormatter: ((row: RowComponent) -> Any)?
open var rowMouseEnter: ((e: Any, row: RowComponent) -> Unit)?
open var rowMouseLeave: ((e: Any, row: RowComponent) -> Unit)?
open var rowMouseMove: ((e: Any, row: RowComponent) -> Unit)?
open var rowMouseOut: ((e: Any, row: RowComponent) -> Unit)?
open var rowMouseOver: ((e: Any, row: RowComponent) -> Unit)?
open var rowMoved: ((row: RowComponent) -> Unit)?
open var rowResized: ((row: RowComponent) -> Unit)?
open var rowSelected: ((row: RowComponent) -> Unit)?
open var rowSelectionChanged: ((data: Array<Any>, rows: Array<RowComponent>) -> Unit)?
open var rowTap: ((e: Any, row: RowComponent) -> Unit)?
open var rowTapHold: ((e: Any, row: RowComponent) -> Unit)?
open var rowUpdated: ((row: RowComponent) -> Unit)?
open var scrollToRowIfVisible: Boolean?
open var scrollToRowPosition: dynamic
open var selectable: dynamic
open var selectableCheck: ((row: 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 : 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<RowComponent>
interface SelectLabelValue
interface SelectParams
interface SelectParamsGroup
open fun selectRow(row: dynamic): Unit
open fun setColumnLayout(layout: ColumnLayout): Unit
open fun setColumns(definitions: Array<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<RowComponent>>
open fun updateOrAddRow(row: dynamic, data: Any): Promise<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: 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: RowComponent) -> Unit)? = null, addRowPos: RowPos? = null, selectable: dynamic = null, selectableRangeMode: RangeMode? = null, selectableRollingSelection: Boolean? = null, selectablePersistence: Boolean? = null, selectableCheck: ((row: 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<Sorter>? = null, sortOrderReverse: Boolean? = null, initialFilter: List<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: RowComponent, level: Number) -> Boolean)? = null, dataTreeRowExpanded: ((row: RowComponent, level: Number) -> Unit)? = null, dataTreeRowCollapsed: ((row: RowComponent, level: Number) -> Unit)? = null, movableRowsSendingStart: ((toTables: Array<Any>) -> Unit)? = null, movableRowsSent: ((fromRow: RowComponent, toRow: RowComponent, toTable: Tabulator) -> Unit)? = null, movableRowsSentFailed: ((fromRow: RowComponent, toRow: RowComponent, toTable: Tabulator) -> Unit)? = null, movableRowsSendingStop: ((toTables: Array<Any>) -> Unit)? = null, movableRowsReceivingStart: ((fromRow: RowComponent, toTable: Tabulator) -> Unit)? = null, movableRowsReceived: ((fromRow: RowComponent, toRow: RowComponent, fromTable: Tabulator) -> Unit)? = null, movableRowsReceivedFailed: ((fromRow: RowComponent, toRow: RowComponent, fromTable: Tabulator) -> Unit)? = null, movableRowsReceivingStop: ((fromTable: Tabulator) -> Unit)? = null, rowClick: ((dynamic, row: RowComponent) -> Unit)? = null, rowDblClick: ((dynamic, row: RowComponent) -> Unit)? = null, rowContext: ((dynamic, row: RowComponent) -> Unit)? = null, rowTap: ((dynamic, row: RowComponent) -> Unit)? = null, rowDblTap: ((dynamic, row: RowComponent) -> Unit)? = null, rowTapHold: ((dynamic, row: RowComponent) -> Unit)? = null, rowMouseEnter: ((dynamic, row: RowComponent) -> Unit)? = null, rowMouseLeave: ((dynamic, row: RowComponent) -> Unit)? = null, rowMouseOver: ((dynamic, row: RowComponent) -> Unit)? = null, rowMouseOut: ((dynamic, row: RowComponent) -> Unit)? = null, rowMouseMove: ((dynamic, row: RowComponent) -> Unit)? = null, rowAdded: ((row: RowComponent) -> Unit)? = null, rowUpdated: ((row: RowComponent) -> Unit)? = null, rowDeleted: ((row: RowComponent) -> Unit)? = null, rowMoved: ((row: RowComponent) -> Unit)? = null, rowResized: ((row: RowComponent) -> Unit)? = null, rowSelectionChanged: ((data: Array<Any>, rows: Array<RowComponent>) -> Unit)? = null, rowSelected: ((row: RowComponent) -> Unit)? = null, rowDeselected: ((row: RowComponent) -> Unit)? = null, cellClick: ((e: Any, cell: CellComponent) -> Unit)? = null, cellDblClick: ((e: Any, cell: CellComponent) -> Unit)? = null, cellContext: ((e: Any, cell: CellComponent) -> Unit)? = null, cellTap: ((e: Any, cell: CellComponent) -> Unit)? = null, cellDblTap: ((e: Any, cell: CellComponent) -> Unit)? = null, cellTapHold: ((e: Any, cell: CellComponent) -> Unit)? = null, cellMouseEnter: ((e: Any, cell: CellComponent) -> Unit)? = null, cellMouseLeave: ((e: Any, cell: CellComponent) -> Unit)? = null, cellMouseOver: ((e: Any, cell: CellComponent) -> Unit)? = null, cellMouseOut: ((e: Any, cell: CellComponent) -> Unit)? = null, cellMouseMove: ((e: Any, cell: CellComponent) -> Unit)? = null, cellEditing: ((cell: CellComponent) -> Unit)? = null, cellEdited: ((cell: CellComponent) -> Unit)? = null, cellEditCancelled: ((cell: CellComponent) -> Unit)? = null, columnMoved: ((column: ColumnComponent, columns: Array<dynamic>) -> Unit)? = null, columnResized: ((column: ColumnComponent) -> Unit)? = null, columnVisibilityChanged: ((column: ColumnComponent, visible: Boolean) -> Unit)? = null, columnTitleChanged: ((column: 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<Sorter>) -> Unit)? = null, dataSorted: ((sorters: Array<Sorter>, rows: Array<RowComponent>) -> Unit)? = null, dataFiltering: ((filters: Array<Filter>) -> Unit)? = null, dataFiltered: ((filters: Array<Filter>, rows: Array<RowComponent>) -> Unit)? = null, validationFailed: ((cell: 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, persistence: dynamic = null, persistenceReaderFunc: dynamic = null, persistenceWriterFunc: dynamic = null, paginationInitialPage: Int? = null, columnHeaderVertAlign: VAlign? = null, maxHeight: String? = null, minHeight: String? = null, rowContextMenu: dynamic = null, dataTreeChildColumnCalcs: Boolean? = null, dataTreeSelectPropagate: Boolean? = null, cellHozAlign: Align? = null, cellVertAlign: VAlign? = null, headerFilterLiveFilterDelay: Int? = 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: CellComponent) -> Unit)?
var cellContext: ((e: Any, cell: CellComponent) -> Unit)?
var cellDblClick: ((e: Any, cell: CellComponent) -> Unit)?
var cellDblTap: ((e: Any, cell: CellComponent) -> Unit)?
var cellEditCancelled: ((cell: CellComponent) -> Unit)?
var cellEdited: ((cell: CellComponent) -> Unit)?
var cellEditing: ((cell: CellComponent) -> Unit)?
val cellHozAlign: Align?
var cellMouseEnter: ((e: Any, cell: CellComponent) -> Unit)?
var cellMouseLeave: ((e: Any, cell: CellComponent) -> Unit)?
var cellMouseMove: ((e: Any, cell: CellComponent) -> Unit)?
var cellMouseOut: ((e: Any, cell: CellComponent) -> Unit)?
var cellMouseOver: ((e: Any, cell: CellComponent) -> Unit)?
var cellTap: ((e: Any, cell: CellComponent) -> Unit)?
var cellTapHold: ((e: Any, cell: CellComponent) -> Unit)?
val cellVertAlign: VAlign?
val columnHeaderVertAlign: VAlign?
val columnMinWidth: Int?
var columnMoved: ((column: ColumnComponent, columns: Array<dynamic>) -> Unit)?
var columnResized: ((column: ColumnComponent) -> Unit)?
val columns: List<ColumnDefinition<T>>?
var columnTitleChanged: ((column: ColumnComponent) -> Unit)?
var columnVisibilityChanged: ((column: ColumnComponent, visible: Boolean) -> Unit)?
var data: Array<T>?
var dataEdited: ((data: List<T>) -> Unit)?
var dataFiltered: ((filters: Array<Filter>, rows: Array<RowComponent>) -> Unit)?
var dataFiltering: ((filters: Array<Filter>) -> Unit)?
var dataLoaded: ((data: List<T>) -> Unit)?
var dataLoading: ((data: List<T>) -> Unit)?
var dataSorted: ((sorters: Array<Sorter>, rows: Array<RowComponent>) -> Unit)?
var dataSorting: ((sorters: Array<Sorter>) -> Unit)?
val dataTree: Boolean?
val dataTreeBranchElement: dynamic
val dataTreeChildColumnCalcs: Boolean?
val dataTreeChildField: String?
val dataTreeChildIndent: Number?
val dataTreeCollapseElement: dynamic
val dataTreeElementColumn: String?
val dataTreeExpandElement: dynamic
val dataTreeRowCollapsed: ((row: RowComponent, level: Number) -> Unit)?
val dataTreeRowExpanded: ((row: RowComponent, level: Number) -> Unit)?
val dataTreeSelectPropagate: Boolean?
val dataTreeStartExpanded: ((row: RowComponent, level: Number) -> Boolean)?
val downloadConfig: DownloadConfig?
val downloadDataFormatter: dynamic
val footerElement: String?
val headerFilterLiveFilterDelay: Int?
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<Filter>?
val initialHeaderFilter: List<Any?>?
val initialSort: List<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 maxHeight: String?
val minHeight: String?
val movableColumns: Boolean?
val movableRows: Boolean?
val movableRowsConnectedTables: dynamic
val movableRowsReceived: ((fromRow: RowComponent, toRow: RowComponent, fromTable: Tabulator) -> Unit)?
val movableRowsReceivedFailed: ((fromRow: RowComponent, toRow: RowComponent, fromTable: Tabulator) -> Unit)?
val movableRowsReceiver: dynamic
val movableRowsReceivingStart: ((fromRow: 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: RowComponent, toRow: RowComponent, toTable: Tabulator) -> Unit)?
val movableRowsSentFailed: ((fromRow: RowComponent, toRow: 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 paginationInitialPage: Int?
val paginationSize: Int?
val paginationSizeSelector: Boolean?
val persistence: dynamic
val persistenceID: String?
val persistenceMode: Boolean?
val persistenceReaderFunc: dynamic
val persistenceWriterFunc: dynamic
val persistentFilter: Boolean?
val persistentLayout: Boolean?
val 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: RowComponent) -> Unit)?
var rowClick: ((dynamic, row: RowComponent) -> Unit)?
var rowContext: ((dynamic, row: RowComponent) -> Unit)?
val rowContextMenu: dynamic
var rowDblClick: ((dynamic, row: RowComponent) -> Unit)?
var rowDblTap: ((dynamic, row: RowComponent) -> Unit)?
var rowDeleted: ((row: RowComponent) -> Unit)?
var rowDeselected: ((row: RowComponent) -> Unit)?
val rowFormatter: ((row: RowComponent) -> Unit)?
var rowMouseEnter: ((dynamic, row: RowComponent) -> Unit)?
var rowMouseLeave: ((dynamic, row: RowComponent) -> Unit)?
var rowMouseMove: ((dynamic, row: RowComponent) -> Unit)?
var rowMouseOut: ((dynamic, row: RowComponent) -> Unit)?
var rowMouseOver: ((dynamic, row: RowComponent) -> Unit)?
var rowMoved: ((row: RowComponent) -> Unit)?
var rowResized: ((row: RowComponent) -> Unit)?
var rowSelected: ((row: RowComponent) -> Unit)?
var rowSelectionChanged: ((data: Array<Any>, rows: Array<RowComponent>) -> Unit)?
var rowTap: ((dynamic, row: RowComponent) -> Unit)?
var rowTapHold: ((dynamic, row: RowComponent) -> Unit)?
var rowUpdated: ((row: RowComponent) -> Unit)?
val scrollToColumnIfVisible: Boolean?
val scrollToColumnPosition: ColumnPosition?
val scrollToRowIfVisible: Boolean?
val scrollToRowPosition: RowPosition?
val selectable: dynamic
val selectableCheck: ((row: 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: CellComponent) -> String)?
val tooltipsHeader: Boolean?
var validationFailed: ((cell: 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
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
open class TextNode : Widget
enum class TextOverflow
class TextShadow
enum class TextTransform
enum class TheadType
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
object Toast
enum class ToastEasing
enum class ToastMethod
data class ToastOptions
Module Contents
ToastOptions(positionClass: ToastPosition? = null, escapeHtml: Boolean? = null, closeButton: Boolean? = null, closeHtml: String? = null, closeDuration: Int? = null, newestOnTop: Boolean? = null, showEasing: ToastEasing? = null, hideEasing: ToastEasing? = null, closeEasing: ToastEasing? = null, showMethod: ToastMethod? = null, hideMethod: ToastMethod? = null, closeMethod: ToastMethod? = null, preventDuplicates: Boolean? = null, timeOut: Int? = null, extendedTimeOut: Int? = null, progressBar: Boolean? = null, rtl: Boolean? = null, onShown: (() -> Unit)? = null, onHidden: (() -> Unit)? = null, onClick: (() -> Unit)? = null, onCloseClick: (() -> Unit)? = null)
val closeButton: Boolean?
val closeDuration: Int?
val closeEasing: ToastEasing?
val closeHtml: String?
val closeMethod: ToastMethod?
val escapeHtml: Boolean?
val extendedTimeOut: Int?
val hideEasing: ToastEasing?
val hideMethod: ToastMethod?
val newestOnTop: Boolean?
val onClick: (() -> Unit)?
val onCloseClick: (() -> Unit)?
val onHidden: (() -> Unit)?
val onShown: (() -> Unit)?
val positionClass: ToastPosition?
val preventDuplicates: Boolean?
val progressBar: Boolean?
val rtl: Boolean?
val showEasing: ToastEasing?
val showMethod: ToastMethod?
val timeOut: Int?
enum class ToastPosition
interface ToBitmapOptions
interface ToDataURLOptions
open class Toolbar : SimplePanel
data class TooltipCallback
Module Contents
TooltipCallback(beforeTitle: ((item: Array<ChartTooltipItem>, data: ChartData) -> dynamic)? = null, title: ((item: Array<ChartTooltipItem>, data: ChartData) -> dynamic)? = null, afterTitle: ((item: Array<ChartTooltipItem>, data: ChartData) -> dynamic)? = null, beforeBody: ((item: Array<ChartTooltipItem>, data: ChartData) -> dynamic)? = null, beforeLabel: ((tooltipItem: ChartTooltipItem, data: ChartData) -> dynamic)? = null, label: ((tooltipItem: ChartTooltipItem, data: ChartData) -> dynamic)? = null, labelColor: ((tooltipItem: ChartTooltipItem, chart: Chart) -> ChartTooltipLabelColor)? = null, labelTextColor: ((tooltipItem: ChartTooltipItem, chart: Chart) -> String)? = null, afterLabel: ((tooltipItem: ChartTooltipItem, data: ChartData) -> dynamic)? = null, afterBody: ((item: Array<ChartTooltipItem>, data: ChartData) -> dynamic)? = null, : ((item: Array<ChartTooltipItem>, data: ChartData) -> dynamic)? = null, : ((item: Array<ChartTooltipItem>, data: ChartData) -> dynamic)? = null, : ((item: Array<ChartTooltipItem>, data: ChartData) -> dynamic)? = null)
val afterBody: ((item: Array<ChartTooltipItem>, data: ChartData) -> dynamic)?
val afterFooter: ((item: Array<ChartTooltipItem>, data: ChartData) -> dynamic)?
val afterLabel: ((tooltipItem: ChartTooltipItem, data: ChartData) -> dynamic)?
val afterTitle: ((item: Array<ChartTooltipItem>, data: ChartData) -> dynamic)?
val beforeBody: ((item: Array<ChartTooltipItem>, data: ChartData) -> dynamic)?
val beforeFooter: ((item: Array<ChartTooltipItem>, data: ChartData) -> dynamic)?
val beforeLabel: ((tooltipItem: ChartTooltipItem, data: ChartData) -> dynamic)?
val beforeTitle: ((item: Array<ChartTooltipItem>, data: ChartData) -> dynamic)?
val footer: ((item: Array<ChartTooltipItem>, data: ChartData) -> dynamic)?
val label: ((tooltipItem: ChartTooltipItem, data: ChartData) -> dynamic)?
val labelColor: ((tooltipItem: ChartTooltipItem, chart: Chart) -> ChartTooltipLabelColor)?
val labelTextColor: ((tooltipItem: ChartTooltipItem, chart: Chart) -> String)?
val title: ((item: Array<ChartTooltipItem>, data: 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: ChartTooltipItem, data: ChartData) -> Boolean)? = null, itemSort: ((itemA: ChartTooltipItem, itemB: 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: ChartTooltipItem, data: 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: ChartTooltipItem, itemB: 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
interface ToPNGOptions
open class TouchBar : EventEmitter
open class TouchBarButton : EventEmitter
interface TouchBarButtonConstructorOptions
open class TouchBarColorPicker : EventEmitter
interface TouchBarColorPickerConstructorOptions
interface TouchBarConstructorOptions
open class TouchBarGroup : EventEmitter
interface TouchBarGroupConstructorOptions
open class TouchBarLabel : EventEmitter
interface TouchBarLabelConstructorOptions
open class TouchBarPopover : EventEmitter
interface TouchBarPopoverConstructorOptions
open class TouchBarScrubber : EventEmitter
interface TouchBarScrubberConstructorOptions
open class TouchBarSegmentedControl : EventEmitter
interface TouchBarSegmentedControlConstructorOptions
open class TouchBarSlider : EventEmitter
interface TouchBarSliderConstructorOptions
open class TouchBarSpacer : EventEmitter
interface TouchBarSpacerConstructorOptions
interface Transaction
open 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
Module Contents
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, taAjaxOptions: TaAjaxOptions? = null, classes: Set<String> = setOf())
open class Ul : ListTag
enum class UnicodeBidi
enum class UNIT
class Updateable<S : Any, CONTENT>
interface UpdateTargetUrlEvent : Event
open class Upload : SimplePanel, KFilesFormControl
interface UploadBlob
interface UploadData
interface UploadFile
interface UploadFileSystem
open class UploadInput : Widget, FormInput
interface UploadRawData
enum class ValidationStatus
enum class Validator
enum class VAlign
interface Versions
enum class VerticalAlign
object Vibration
interface VoidCallback
open class VPanel : FlexPanel
open 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: (frameBuffer: Buffer, dirtyRect: Rectangle) -> Unit): Unit
open fun beginFrameSubscription(onlyDirty: Boolean, callback: (frameBuffer: Buffer, 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, data: Buffer) -> 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: Error) -> Unit): Boolean
open fun savePage(fullPath: String, saveType: String, callback: (error: Error) -> Unit): Boolean
open fun savePage(fullPath: String, saveType: String, callback: (error: 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
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
interface WebPreferences
open 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
interface WebSource
interface WebviewTag : HTMLElement
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: (this: HTMLElement, ev: Any?) -> Any, useCapture: Boolean? = definedExternally): Unit
abstract fun addEventListener(type: String, listener: EventListener, useCapture: Boolean? = definedExternally): Unit
abstract fun addEventListener(type: String, listener: EventListenerObject, useCapture: Boolean? = definedExternally): Unit
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, data: Buffer) -> 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: (this: HTMLElement, ev: Any?) -> Any, useCapture: Boolean? = definedExternally): Unit
abstract fun removeEventListener(type: String, listener: EventListener, useCapture: Boolean? = definedExternally): Unit
abstract fun removeEventListener(type: String, listener: EventListenerObject, useCapture: Boolean? = definedExternally): Unit
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
Module Contents
Widget(classes: Set<String> = setOf())
open fun addCssClass(css: String): Widget
open fun addCssStyle(css: Style): Widget
open fun addSurroundingCssClass(css: String): Widget
open fun addSurroundingCssStyle(css: Style): Widget
protected open fun afterCreate(node: VNode): Unit
protected open fun afterDestroy(): Unit
var afterDestroyHook: (() -> Unit)?
var afterDisposeHook: (() -> Unit)?
protected open fun afterInsert(node: VNode): Unit
var afterInsertHook: ((VNode) -> Unit)?
open fun animate(duration: Int = 400, easing: Easing = Easing.SWING, complete: (() -> Unit)? = null, styles: StyledComponent.() -> Unit): Unit
open fun clearDragDropData(): Unit
open fun disablePopover(): Widget
open fun disableTooltip(): Widget
protected open fun dispatchEvent(type: String, eventInitDict: CustomEventInit): Boolean?
var draggable: Boolean?
open fun enablePopover(options: PopoverOptions = PopoverOptions()): Widget
open fun enableTooltip(options: TooltipOptions = TooltipOptions()): Widget
var eventTarget: Widget?
open fun fadeIn(duration: Int = 400, easing: Easing = Easing.SWING, complete: (() -> Unit)? = null): Widget
open fun fadeOut(duration: Int = 400, easing: Easing = Easing.SWING, complete: (() -> Unit)? = null): Widget
open fun getAttribute(name: String): String?
open fun getElement(): Node?
open fun getElementJQuery(): JQuery?
open fun getElementJQueryD(): dynamic
protected open fun getSnAttrs(): List<StringPair>
protected open fun getSnClass(): List<StringBoolPair>
protected open fun getSnHooks(): Hooks?
protected open fun getSnOn(): On?
open fun hide(): Widget
open fun hideAnim(duration: Int = 400, easing: Easing = Easing.SWING, complete: (() -> Unit)? = null): Widget
open fun hidePopover(): Widget
open fun hideTooltip(): Widget
var id: String?
protected var lastLanguage: String?
open var parent: Container?
protected var popoverOptions: PopoverOptions?
protected inner class RefreshDelegate<T>
protected inner class RefreshDelegateProvider<T>
protected fun <T> refreshOnUpdate(refreshFunction: (T) -> Unit = { this.refresh() }): RefreshDelegateProvider<T>
protected fun <T> refreshOnUpdate(initialValue: T, refreshFunction: (T) -> Unit = { this.refresh() }): RefreshDelegateProvider<T>
open fun removeAttribute(name: String): Widget
open fun removeCssClass(css: String): Widget
open fun removeCssStyle(css: Style): Widget
open fun removeEventListener(id: Int): Widget
open fun removeEventListeners(): Widget
open fun removeSurroundingCssClass(css: String): Widget
open fun removeSurroundingCssStyle(css: Style): Widget
protected open fun render(): VNode
protected open fun render(elementName: String): VNode
protected open fun render(elementName: String, children: Array<dynamic>): VNode
var role: String?
open fun setAttribute(name: String, value: String): Widget
open fun setDragDropData(format: String, data: String): Unit
open fun setDropTarget(format: String, callback: (DragEvent) -> Unit): Unit
open fun setDropTarget(formats: Set<String>? = null, callback: (DragEvent) -> Unit): Unit
open fun setDropTargetData(format: String, callback: (String?) -> Unit): Unit
open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Int
open fun show(): Widget
open fun showAnim(duration: Int = 400, easing: Easing = Easing.SWING, complete: (() -> Unit)? = null): Widget
open fun showPopover(): Widget
open fun showTooltip(): Widget
protected fun <T> singleRender(block: () -> T): T
open fun slideDown(duration: Int = 400, easing: Easing = Easing.SWING, complete: (() -> Unit)? = null): Widget
open fun slideUp(duration: Int = 400, easing: Easing = Easing.SWING, complete: (() -> Unit)? = null): Widget
protected var surroundingSpan: Boolean
var tabindex: Int?
var title: String?
open fun toggleVisible(): Widget
protected var tooltipOptions: TooltipOptions?
protected fun translate(text: String): String
protected fun translate(text: String?): String?
open var visible: Boolean
protected var vnode: VNode?
open class WidgetWrapper : SimplePanel
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
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>? = null, className: String? = null, 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: 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: 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: ChartLegendLabelItem, data: ChartData) -> Any)? = null, usePointStyle: Boolean = false)
val boxWidth: Int
val filter: ((legendItem: ChartLegendLabelItem, data: 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: ChartLegendLabelItem) -> Unit)? = null, onHover: ((event: MouseEvent, legendItem: ChartLegendLabelItem) -> Unit)? = null, labels: LegendLabelOptions? = null)
val display: Boolean
val fullWidth: Boolean
val labels: LegendLabelOptions?
val onClick: ((event: MouseEvent, legendItem: ChartLegendLabelItem) -> Unit)?
val onHover: ((event: MouseEvent, legendItem: 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): ChartConfiguration
data class TooltipCallback
Module Contents
TooltipCallback(beforeTitle: ((item: Array<ChartTooltipItem>, data: ChartData) -> dynamic)? = null, title: ((item: Array<ChartTooltipItem>, data: ChartData) -> dynamic)? = null, afterTitle: ((item: Array<ChartTooltipItem>, data: ChartData) -> dynamic)? = null, beforeBody: ((item: Array<ChartTooltipItem>, data: ChartData) -> dynamic)? = null, beforeLabel: ((tooltipItem: ChartTooltipItem, data: ChartData) -> dynamic)? = null, label: ((tooltipItem: ChartTooltipItem, data: ChartData) -> dynamic)? = null, labelColor: ((tooltipItem: ChartTooltipItem, chart: Chart) -> ChartTooltipLabelColor)? = null, labelTextColor: ((tooltipItem: ChartTooltipItem, chart: Chart) -> String)? = null, afterLabel: ((tooltipItem: ChartTooltipItem, data: ChartData) -> dynamic)? = null, afterBody: ((item: Array<ChartTooltipItem>, data: ChartData) -> dynamic)? = null, : ((item: Array<ChartTooltipItem>, data: ChartData) -> dynamic)? = null, : ((item: Array<ChartTooltipItem>, data: ChartData) -> dynamic)? = null, : ((item: Array<ChartTooltipItem>, data: ChartData) -> dynamic)? = null)
val afterBody: ((item: Array<ChartTooltipItem>, data: ChartData) -> dynamic)?
val afterFooter: ((item: Array<ChartTooltipItem>, data: ChartData) -> dynamic)?
val afterLabel: ((tooltipItem: ChartTooltipItem, data: ChartData) -> dynamic)?
val afterTitle: ((item: Array<ChartTooltipItem>, data: ChartData) -> dynamic)?
val beforeBody: ((item: Array<ChartTooltipItem>, data: ChartData) -> dynamic)?
val beforeFooter: ((item: Array<ChartTooltipItem>, data: ChartData) -> dynamic)?
val beforeLabel: ((tooltipItem: ChartTooltipItem, data: ChartData) -> dynamic)?
val beforeTitle: ((item: Array<ChartTooltipItem>, data: ChartData) -> dynamic)?
val footer: ((item: Array<ChartTooltipItem>, data: ChartData) -> dynamic)?
val label: ((tooltipItem: ChartTooltipItem, data: ChartData) -> dynamic)?
val labelColor: ((tooltipItem: ChartTooltipItem, chart: Chart) -> ChartTooltipLabelColor)?
val labelTextColor: ((tooltipItem: ChartTooltipItem, chart: Chart) -> String)?
val title: ((item: Array<ChartTooltipItem>, data: 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: ChartTooltipItem, data: ChartData) -> Boolean)? = null, itemSort: ((itemA: ChartTooltipItem, itemB: 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: ChartTooltipItem, data: 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: ChartTooltipItem, itemB: 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 class Chart
Module Contents
Chart(context: String, options: ChartConfiguration)
Chart(context: CanvasRenderingContext2D, options: ChartConfiguration)
Chart(context: HTMLCanvasElement, options: ChartConfiguration)
Chart(context: Array<dynamic>, options: ChartConfiguration)
interface AngleLineOptions
open var canvas: HTMLCanvasElement?
var Chart: Any?
interface ChartAnimationObject
interface ChartAnimationOptions
interface ChartAnimationParameter
interface ChartArcOptions
open var chartArea: ChartArea
interface ChartArea
interface ChartConfiguration
interface ChartData
interface ChartDataSets
interface ChartElementsOptions
interface ChartFontOptions
interface ChartHoverOptions
interface ChartLayoutOptions
interface ChartLayoutPaddingObject
interface ChartLegendItem
interface ChartLegendLabelItem : 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<ChartTooltipItem>, data: ChartData) -> dynamic)?
open val afterFooter: ((item: Array<ChartTooltipItem>, data: ChartData) -> dynamic)?
open val afterLabel: ((tooltipItem: ChartTooltipItem, data: ChartData) -> dynamic)?
open val afterTitle: ((item: Array<ChartTooltipItem>, data: ChartData) -> dynamic)?
open val beforeBody: ((item: Array<ChartTooltipItem>, data: ChartData) -> dynamic)?
open val beforeFooter: ((item: Array<ChartTooltipItem>, data: ChartData) -> dynamic)?
open val beforeLabel: ((tooltipItem: ChartTooltipItem, data: ChartData) -> dynamic)?
open val beforeTitle: ((item: Array<ChartTooltipItem>, data: ChartData) -> dynamic)?
open val footer: ((item: Array<ChartTooltipItem>, data: ChartData) -> dynamic)?
open val label: ((tooltipItem: ChartTooltipItem, data: ChartData) -> dynamic)?
open val labelColor: ((tooltipItem: ChartTooltipItem, chart: Chart) -> ChartTooltipLabelColor)?
open val labelTextColor: ((tooltipItem: ChartTooltipItem, chart: Chart) -> String)?
open val title: ((item: Array<ChartTooltipItem>, data: ChartData) -> dynamic)?
interface ChartTooltipItem
interface ChartTooltipLabelColor
interface ChartTooltipOptions
interface ChartTooltipsStaticConfiguration
interface ChartXAxe : CommonAxe
interface ChartYAxe : CommonAxe
open fun clear(): Any
interface CommonAxe
open var config: ChartConfiguration
var controllers: Json
open var ctx: CanvasRenderingContext2D?
open var data: 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 : ChartScales
interface LinearTickOptions : TickOptions
interface LogarithmicScale : ChartScales
interface LogarithmicTickOptions : TickOptions
interface NestedTickOptions
open var options: ChartOptions
var plugins: PluginServiceStatic
var pluginService: PluginServiceStatic
interface Point
interface PointLabelOptions
interface Positioners
interface RadialChartOptions : ChartOptions
interface RadialLinearScale : 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 : NestedTickOptions
interface TimeDisplayFormat
interface TimeScale : ChartScales
open fun toBase64Image(): String
var Tooltip: ChartTooltipsStaticConfiguration
open fun update(duration: Any? = definedExternally, lazy: Any? = definedExternally): Any
interface Defaults
operator fun Defaults.get(key: String): Any?
operator fun Positioners.get(mode: String): ((elements: Array<Any>, eventPosition: Point) -> Point)?
operator fun ChartPluginsOptions.get(pluginId: String): Any?
interface Meta
interface MetaData
interface Model
interface PluginServiceGlobalRegistration
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: ChartSize, options: Any?) -> Unit)?
open class PluginServiceStatic
operator fun Defaults.set(key: String, value: Any): Unit
operator inline fun Positioners.set(mode: String, noinline value: (elements: Array<Any>, eventPosition: Point) -> Point): Unit
operator fun 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 : Exception> Result<V, E>.any(predicate: (V) -> Boolean): Boolean
suspend fun FileEntry.append(data: Blob): Result<FileEntry, FileException>
suspend fun FileEntry.append(data: String): Result<FileEntry, FileException>
object Battery
class BatteryStatus
class Browser
object Camera
class CameraException : Exception
data class CameraOptions
Module Contents
CameraOptions(quality: Int? = null, destinationType: DestinationType? = null, sourceType: PictureSourceType? = null, allowEdit: Boolean? = null, encodingType: EncodingType? = null, targetWidth: Int? = null, targetHeight: Int? = null, mediaType: MediaType? = null, correctOrientation: Boolean? = null, saveToPhotoAlbum: Boolean? = null, popoverOptions: CameraPopoverOptions? = null, cameraDirection: Direction? = null)
val allowEdit: Boolean?
val cameraDirection: Direction?
val correctOrientation: Boolean?
val destinationType: DestinationType?
val encodingType: EncodingType?
val mediaType: MediaType?
val popoverOptions: CameraPopoverOptions?
val quality: Int?
val saveToPhotoAlbum: Boolean?
val sourceType: PictureSourceType?
val targetHeight: Int?
val targetWidth: Int?
class CaptureException : Exception
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>
class Device
interface DirectoryEntry : Entry
interface DirectoryEntryCallback
interface DirectoryEntrySync : EntrySync
interface DirectoryReader
interface DirectoryReaderSync
interface EntriesCallback
interface Entry
interface EntryCallback
interface EntrySync
interface ErrorCallback
inline fun <E : Exception> 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>
interface FileCallback
interface FileEntry : Entry
interface FileEntryCallback
interface FileEntrySync : EntrySync
class FileException : Exception
interface FileSaver : EventTarget
interface FileSystem
interface FileSystemCallback
interface FileSystemSync
interface FileWriter : FileSaver
interface FileWriterCallback
interface FileWriterSync
interface Flags
inline fun <V : Any, U : Any, E : Exception> Result<V, E>.flatMap(transform: (V) -> Result<U, E>): Result<U, E>
fun <V : Any, E : Exception, E2 : Exception> Result<V, E>.flatMapError(transform: (E) -> Result<V, E2>): Result<V, E2>
object Geolocation
class GeolocationException : Exception
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 : Exception> Result<V, E>.getOrElse(fallback: V): V
suspend fun Entry.getParent(): Result<DirectoryEntry, FileException>
object InAppBrowser
class InAppBrowserEvent
operator fun FileSystemCallback.invoke(filesystem: FileSystem): Unit
operator fun EntryCallback.invoke(entry: Entry): Unit
operator fun FileEntryCallback.invoke(entry: FileEntry): Unit
operator fun DirectoryEntryCallback.invoke(entry: DirectoryEntry): Unit
operator fun EntriesCallback.invoke(entries: Array<Entry>): Unit
operator fun MetadataCallback.invoke(metadata: Metadata): Unit
operator fun FileWriterCallback.invoke(fileWriter: FileWriter): Unit
operator fun FileCallback.invoke(file: File): Unit
operator fun VoidCallback.invoke(): Unit
operator fun ErrorCallback.invoke(err: Error): Unit
kotlin.String
object LocalFileSystem
object LocalFileSystemSync
object Locationservices
Module Contents
fun clearWatch(watchId: String): Unit
suspend fun getCurrentPosition(enableHighAccuracy: Boolean = true, timeout: Number? = null, maximumAge: Number? = null, priority: 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: Priority? = null, interval: Number? = null, fastInterval: Number? = null, resultCallback: (Result<Position, GeolocationException>) -> Unit): String?
inline fun <V : Any, U : Any, E : Exception> Result<V, E>.map(transform: (V) -> U): Result<U, E>
fun <V : Any, E : Exception, E2 : Exception> Result<V, E>.mapError(transform: (E) -> E2): Result<V, E2>
class Media
object MediaCapture
class MediaError
class MediaFile
class MediaFileData
interface Metadata
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 : Exception> Result<V, E>.or(fallback: V): Success<V>
org.khronos.webgl.ArrayBuffer
class PendingResult
class Position
enum class PositionError
class PromptResponse
suspend fun FileEntry.readAsArrayBuffer(): Result<ArrayBuffer, 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 : Exception>
class ResumeEvent
object Screen
object Splashscreen
object StatusBar
inline fun <V : Any> Result<V, *>.success(f: (V) -> Unit): Unit
class SystemDirs
object Vibration
interface VoidCallback
suspend fun FileEntry.write(data: Blob): Result<FileEntry, FileException>
suspend fun FileEntry.write(data: String): Result<FileEntry, FileException>
suspend fun FileEntry.write(data: ArrayBuffer): 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(color: Color? = null, 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 Cursor
enum class Direction
enum class Display
enum class Easing
enum class FontStyle
enum class FontVariant
enum class FontWeight
enum class LineBreak
inline fun <reified T : Widget> T.onClick(noinline handler: T.(MouseEvent) -> Unit): Int
inline fun <reified T : Widget> T.onEvent(noinline block: SnOn<T>.() -> Unit): Int
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
Module Contents
Widget(classes: Set<String> = setOf())
open fun addCssClass(css: String): Widget
open fun addCssStyle(css: Style): Widget
open fun addSurroundingCssClass(css: String): Widget
open fun addSurroundingCssStyle(css: Style): Widget
protected open fun afterCreate(node: VNode): Unit
protected open fun afterDestroy(): Unit
var afterDestroyHook: (() -> Unit)?
var afterDisposeHook: (() -> Unit)?
protected open fun afterInsert(node: VNode): Unit
var afterInsertHook: ((VNode) -> Unit)?
open fun animate(duration: Int = 400, easing: Easing = Easing.SWING, complete: (() -> Unit)? = null, styles: StyledComponent.() -> Unit): Unit
open fun clearDragDropData(): Unit
open fun disablePopover(): Widget
open fun disableTooltip(): Widget
protected open fun dispatchEvent(type: String, eventInitDict: CustomEventInit): Boolean?
var draggable: Boolean?
open fun enablePopover(options: PopoverOptions = PopoverOptions()): Widget
open fun enableTooltip(options: TooltipOptions = TooltipOptions()): Widget
var eventTarget: Widget?
open fun fadeIn(duration: Int = 400, easing: Easing = Easing.SWING, complete: (() -> Unit)? = null): Widget
open fun fadeOut(duration: Int = 400, easing: Easing = Easing.SWING, complete: (() -> Unit)? = null): Widget
open fun getAttribute(name: String): String?
open fun getElement(): Node?
open fun getElementJQuery(): JQuery?
open fun getElementJQueryD(): dynamic
protected open fun getSnAttrs(): List<StringPair>
protected open fun getSnClass(): List<StringBoolPair>
protected open fun getSnHooks(): Hooks?
protected open fun getSnOn(): On?
open fun hide(): Widget
open fun hideAnim(duration: Int = 400, easing: Easing = Easing.SWING, complete: (() -> Unit)? = null): Widget
open fun hidePopover(): Widget
open fun hideTooltip(): Widget
var id: String?
protected var lastLanguage: String?
open var parent: Container?
protected var popoverOptions: PopoverOptions?
protected inner class RefreshDelegate<T>
protected inner class RefreshDelegateProvider<T>
protected fun <T> refreshOnUpdate(refreshFunction: (T) -> Unit = { this.refresh() }): RefreshDelegateProvider<T>
protected fun <T> refreshOnUpdate(initialValue: T, refreshFunction: (T) -> Unit = { this.refresh() }): RefreshDelegateProvider<T>
open fun removeAttribute(name: String): Widget
open fun removeCssClass(css: String): Widget
open fun removeCssStyle(css: Style): Widget
open fun removeEventListener(id: Int): Widget
open fun removeEventListeners(): Widget
open fun removeSurroundingCssClass(css: String): Widget
open fun removeSurroundingCssStyle(css: Style): Widget
protected open fun render(): VNode
protected open fun render(elementName: String): VNode
protected open fun render(elementName: String, children: Array<dynamic>): VNode
var role: String?
open fun setAttribute(name: String, value: String): Widget
open fun setDragDropData(format: String, data: String): Unit
open fun setDropTarget(format: String, callback: (DragEvent) -> Unit): Unit
open fun setDropTarget(formats: Set<String>? = null, callback: (DragEvent) -> Unit): Unit
open fun setDropTargetData(format: String, callback: (String?) -> Unit): Unit
open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Int
open fun show(): Widget
open fun showAnim(duration: Int = 400, easing: Easing = Easing.SWING, complete: (() -> Unit)? = null): Widget
open fun showPopover(): Widget
open fun showTooltip(): Widget
protected fun <T> singleRender(block: () -> T): T
open fun slideDown(duration: Int = 400, easing: Easing = Easing.SWING, complete: (() -> Unit)? = null): Widget
open fun slideUp(duration: Int = 400, easing: Easing = Easing.SWING, complete: (() -> Unit)? = null): Widget
protected var surroundingSpan: Boolean
var tabindex: Int?
var title: String?
open fun toggleVisible(): Widget
protected var tooltipOptions: TooltipOptions?
protected fun translate(text: String): String
protected fun translate(text: String?): String?
open var visible: Boolean
protected var vnode: VNode?
fun Container.widget(classes: Set<String>? = null, className: String? = null, init: (Widget.() -> Unit)? = null): Widget
open class WidgetWrapper : SimplePanel
fun Container.widgetWrapper(wrapped: Component?, classes: Set<String>? = null, className: String? = null, 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>? = null, : String? = null, : (Link.() -> Unit)? = null): Link
fun ContextMenu.cmLinkDisabled(: String, : String? = null, : ResString? = null, : Set<String>? = null, : String? = null, : (Link.() -> Unit)? = null): Link
open class ContextMenu : Div
fun Widget.contextMenu(: Boolean = false, : Set<String>? = null, : String? = null, : (ContextMenu.() -> Unit)? = null): ContextMenu
enum class DD
fun DropDown.ddLink(label: String, url: String? = null, icon: String? = null, image: ResString? = null, classes: Set<String>? = null, className: String? = null, init: (Link.() -> Unit)? = null): Link
fun DropDown.ddLinkDisabled(label: String, icon: String? = null, image: ResString? = null, classes: Set<String>? = null, className: String? = null, 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>? = null, className: String? = null, init: (DropDown.() -> Unit)? = null): DropDown
open class Header : Tag
fun ContextMenu.header(: String? = null, : Set<String>? = null, : String? = null): Header
fun DropDown.header(: String? = null, : Set<String>? = null, : String? = null): Header
open class Separator : Div
fun ContextMenu.separator(: Set<String>? = null, : String? = null): Separator
fun DropDown.separator(classes: Set<String>? = null, className: String? = null): Separator
fun Widget.setContextMenu(: ContextMenu): Widget
package pl.treksoft.kvision.electron
Module Contents
interface AboutPanelOptionsOptions
open class Accelerator
interface AddRepresentationOptions
interface AllElectron : MainInterface, RendererInterface
var app: App
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: Error, icon: NativeImage) -> Unit): Unit
abstract fun getFileIcon(path: String, options: FileIconOptions, callback: (error: 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
interface AppDetailsOptions
interface AuthInfo
interface AutoResizeOptions
var autoUpdater: AutoUpdater
interface AutoUpdater : EventEmitter
Module Contents
abstract fun addListener(event: String, listener: Function<*>): AutoUpdater
abstract fun addListener(event: String, listener: (error: 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: 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: 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: 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
interface BitmapOptions
interface BluetoothDevice
open class BrowserView : EventEmitter
interface BrowserViewConstructorOptions
open 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(): Buffer
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
interface BrowserWindowConstructorOptions
open class BrowserWindowProxy : EventEmitter
interface Certificate
interface CertificatePrincipal
interface CertificateTrustDialogOptions
interface CertificateVerifyProcRequest
interface ClearStorageDataOptions
open 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: 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: Buffer? = 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: 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: 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: 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: Buffer, encoding: String? = definedExternally, callback: Function<*>? = definedExternally): Unit
var clipboard: Clipboard
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): Buffer
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: Buffer, 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
interface CommandLine
interface CommonInterface
interface Config
interface ConsoleMessageEvent : Event
var contentTracing: ContentTracing
interface ContentTracing : EventEmitter
interface ContextMenuParams
interface Cookie
open 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: 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: Error) -> Unit): Unit
interface CPUUsage
interface CrashReport
var crashReporter: CrashReporter
interface CrashReporter : EventEmitter
interface CrashReporterStartOptions
interface CreateFromBufferOptions
interface CreateInterruptedDownloadOptions
interface Data
open 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
interface DefaultFontFamily
var desktopCapturer: DesktopCapturer
interface DesktopCapturer : EventEmitter
interface DesktopCapturerSource
interface Details
interface DevToolsExtensions
var dialog: Dialog
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
interface DidChangeThemeColorEvent : Event
interface DidFailLoadEvent : Event
interface DidFrameFinishLoadEvent : Event
interface DidGetRedirectRequestEvent : Event
interface DidGetResponseDetailsEvent : Event
interface DidNavigateEvent : Event
interface DidNavigateInPageEvent : Event
interface Display
interface DisplayBalloonOptions
interface Dock
open 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
interface EditFlags
interface EnableNetworkEmulationOptions
interface Event
open class EventEmitter
interface EventListenerObject
interface Extensions
interface Extra
interface FeedURLOptions
interface FileFilter
interface FileIconOptions
interface Filter
interface FindInPageOptions
interface FoundInPageEvent : Event
interface FoundInPageResult
interface FromPartitionOptions
var globalShortcut: GlobalShortcut
interface GlobalShortcut : EventEmitter
interface GPUFeatureStatus
interface Header
interface Headers
interface IgnoreMouseEventsOptions
interface ImportCertificateOptions
var inAppPurchase: InAppPurchase
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 class IncomingMessage : EventEmitter
Module Contents
IncomingMessage()
open fun addListener(event: String, listener: Function<*>): IncomingMessage
open fun addListener(event: String, listener: (chunk: Buffer) -> 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: (chunk: Buffer) -> 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: (chunk: Buffer) -> 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: (chunk: Buffer) -> 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
interface Input
interface InterceptBufferProtocolRequest
interface InterceptFileProtocolRequest
interface InterceptHttpProtocolRequest
interface InterceptStreamProtocolRequest
interface InterceptStringProtocolRequest
interface IOCounters
var ipcMain: IpcMain
interface IpcMain : EventEmitter
interface IpcMessageEvent : Event
var ipcRenderer: IpcRenderer
interface IpcRenderer : EventEmitter
interface Item
interface JumpListCategory
interface JumpListItem
interface JumpListSettings
interface LoadCommitEvent : Event
interface LoadURLOptions
interface LoginItemSettings
interface LoginItemSettingsOptions
interface MainInterface : CommonInterface
interface MediaFlags
interface MemoryInfo
interface MemoryUsageDetails
open class Menu
open class MenuItem
interface MenuItemConstructorOptions
interface MessageBoxOptions
interface MimeTypedBuffer
var nativeImage: Any?
open class NativeImage
var net: Net
interface Net : EventEmitter
interface NewWindowEvent : Event
open 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
interface NotificationAction
interface NotificationConstructorOptions
interface OnBeforeRedirectDetails
interface OnBeforeRedirectFilter
interface OnBeforeRequestDetails
interface OnBeforeRequestFilter
interface OnBeforeSendHeadersFilter
interface OnCompletedDetails
interface OnCompletedFilter
interface OnErrorOccurredDetails
interface OnErrorOccurredFilter
interface OnHeadersReceivedFilter
interface OnResponseStartedDetails
interface OnResponseStartedFilter
interface OnSendHeadersDetails
interface OnSendHeadersFilter
interface OpenDevToolsOptions
interface OpenDialogOptions
interface OpenExternalOptions
interface Options
interface PageFaviconUpdatedEvent : Event
interface PageTitleUpdatedEvent : Event
interface Parameters
interface Payment
interface PermissionRequestHandlerDetails
interface PluginCrashedEvent : Event
interface Point
interface PopupOptions
var powerMonitor: PowerMonitor
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
var powerSaveBlocker: PowerSaveBlocker
interface PowerSaveBlocker : EventEmitter
interface PrinterInfo
interface PrintOptions
interface PrintToPDFOptions
interface ProcessMemoryInfo
interface ProcessMetric
interface ProgressBarOptions
var protocol: Protocol
interface Protocol : EventEmitter
Module Contents
abstract fun interceptBufferProtocol(scheme: String, handler: (request: InterceptBufferProtocolRequest, callback: (buffer: Buffer?) -> Unit) -> Unit, completion: ((error: Error) -> Unit)? = definedExternally): Unit
abstract fun interceptFileProtocol(scheme: String, handler: (request: InterceptFileProtocolRequest, callback: (filePath: String) -> Unit) -> Unit, completion: ((error: Error) -> Unit)? = definedExternally): Unit
abstract fun interceptHttpProtocol(scheme: String, handler: (request: InterceptHttpProtocolRequest, callback: (redirectRequest: RedirectRequest) -> Unit) -> Unit, completion: ((error: Error) -> Unit)? = definedExternally): Unit
abstract fun interceptStreamProtocol(scheme: String, handler: (request: InterceptStreamProtocolRequest, callback: (dynamic) -> Unit) -> Unit, completion: ((error: Error) -> Unit)? = definedExternally): Unit
abstract fun interceptStringProtocol(scheme: String, handler: (request: InterceptStringProtocolRequest, callback: (data: String?) -> Unit) -> Unit, completion: ((error: Error) -> Unit)? = definedExternally): Unit
abstract fun isProtocolHandled(scheme: String, callback: (error: Error) -> Unit): Unit
abstract fun registerBufferProtocol(scheme: String, handler: (request: RegisterBufferProtocolRequest, callback: (dynamic) -> Unit) -> Unit, completion: ((error: Error) -> Unit)? = definedExternally): Unit
abstract fun registerFileProtocol(scheme: String, handler: (request: RegisterFileProtocolRequest, callback: (filePath: String?) -> Unit) -> Unit, completion: ((error: Error) -> Unit)? = definedExternally): Unit
abstract fun registerHttpProtocol(scheme: String, handler: (request: RegisterHttpProtocolRequest, callback: (redirectRequest: RedirectRequest) -> Unit) -> Unit, completion: ((error: 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: Error) -> Unit)? = definedExternally): Unit
abstract fun registerStringProtocol(scheme: String, handler: (request: RegisterStringProtocolRequest, callback: (data: String?) -> Unit) -> Unit, completion: ((error: Error) -> Unit)? = definedExternally): Unit
abstract fun uninterceptProtocol(scheme: String, completion: ((error: Error) -> Unit)? = definedExternally): Unit
abstract fun unregisterProtocol(scheme: String, completion: ((error: Error) -> Unit)? = definedExternally): Unit
interface Provider
interface ReadBookmark
interface Rectangle
interface RedirectRequest
interface RegisterBufferProtocolRequest
interface RegisterFileProtocolRequest
interface RegisterHttpProtocolRequest
interface RegisterStandardSchemesOptions
interface RegisterStreamProtocolRequest
interface RegisterStringProtocolRequest
interface RegisterURLSchemeAsPrivilegedOptions
interface RelaunchOptions
var remote: Remote
interface Remote : MainInterface
interface RemoveClientCertificate
interface RemovePassword
interface RendererInterface : CommonInterface
interface Request
interface RequestHeaders
interface ResizeOptions
interface ResourceUsage
interface Response
interface ResponseHeaders
interface Result
interface SaveDialogOptions
var screen: Screen
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
interface ScrubberItem
interface SegmentedControlSegment
interface SelectionArea
var session: Any?
open 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: (result: Buffer) -> 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
interface Settings
var shell: Shell
interface Shell
interface ShortcutDetails
interface Size
interface SizeOptions
interface SourcesOptions
interface StartMonitoringOptions
interface StartRecordingOptions
interface StreamProtocolResponse
interface SystemMemoryInfo
var systemPreferences: SystemPreferences
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
interface Task
interface ThumbarButton
interface ToBitmapOptions
interface ToDataURLOptions
interface ToPNGOptions
open class TouchBar : EventEmitter
open class TouchBarButton : EventEmitter
interface TouchBarButtonConstructorOptions
open class TouchBarColorPicker : EventEmitter
interface TouchBarColorPickerConstructorOptions
interface TouchBarConstructorOptions
open class TouchBarGroup : EventEmitter
interface TouchBarGroupConstructorOptions
open class TouchBarLabel : EventEmitter
interface TouchBarLabelConstructorOptions
open class TouchBarPopover : EventEmitter
interface TouchBarPopoverConstructorOptions
open class TouchBarScrubber : EventEmitter
interface TouchBarScrubberConstructorOptions
open class TouchBarSegmentedControl : EventEmitter
interface TouchBarSegmentedControlConstructorOptions
open class TouchBarSlider : EventEmitter
interface TouchBarSliderConstructorOptions
open class TouchBarSpacer : EventEmitter
interface TouchBarSpacerConstructorOptions
interface Transaction
open 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
interface UpdateTargetUrlEvent : Event
interface UploadBlob
interface UploadData
interface UploadFile
interface UploadFileSystem
interface UploadRawData
interface Versions
var webContents: Any?
open 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: (frameBuffer: Buffer, dirtyRect: Rectangle) -> Unit): Unit
open fun beginFrameSubscription(onlyDirty: Boolean, callback: (frameBuffer: Buffer, 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, data: Buffer) -> 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: Error) -> Unit): Boolean
open fun savePage(fullPath: String, saveType: String, callback: (error: Error) -> Unit): Boolean
open fun savePage(fullPath: String, saveType: String, callback: (error: 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
var webFrame: WebFrame
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
interface WebPreferences
open 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
interface WebSource
var webviewTag: WebviewTag
interface WebviewTag : HTMLElement
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: (this: HTMLElement, ev: Any?) -> Any, useCapture: Boolean? = definedExternally): Unit
abstract fun addEventListener(type: String, listener: EventListener, useCapture: Boolean? = definedExternally): Unit
abstract fun addEventListener(type: String, listener: EventListenerObject, useCapture: Boolean? = definedExternally): Unit
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, data: Buffer) -> 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: (this: HTMLElement, ev: Any?) -> Any, useCapture: Boolean? = definedExternally): Unit
abstract fun removeEventListener(type: String, listener: EventListener, useCapture: Boolean? = definedExternally): Unit
abstract fun removeEventListener(type: String, listener: EventListenerObject, useCapture: Boolean? = definedExternally): Unit
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?
interface WillNavigateEvent : Event
package pl.treksoft.kvision.electron.nodejs
package pl.treksoft.kvision.event
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>? = null, className: String? = null, init: (FieldLabel.() -> Unit)? = null): FieldLabel
class Form<K : Any>
Module Contents
Form(panel: FormPanel<K>? = null, serializer: KSerializer<K>? = null, 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(markFields: Boolean = true): Boolean
fun Container.form(method: FormMethod? = null, action: String? = null, enctype: FormEnctype? = null, type: FormType? = null, condensed: Boolean = false, horizRatio: FormHorizontalRatio = FormHorizontalRatio.RATIO_2, classes: Set<String>? = null, className: String? = null, init: (FormPanel<Any>.() -> Unit)? = null): FormPanel<Any>
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>? = null, 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(markFields: Boolean = true): 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>? = null, className: String? = null, 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, ObservableState<Boolean>
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>? = null, className: String? = null, init: (CheckInput.() -> Unit)? = null): CheckBoxInput
enum class CheckBoxStyle
abstract class CheckInput : Widget, FormInput, ObservableState<Boolean>
enum class CheckInputType
open class Radio : SimplePanel, BoolFormControl, ObservableState<Boolean>
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, ObservableState<String?>
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, ObservableState<String?>
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>? = null, className: String? = null, init: (CheckInput.() -> Unit)? = null): RadioInput
enum class RadioStyle
package pl.treksoft.kvision.form.range
Module Contents
open class Range : SimplePanel, NumberFormControl, ObservableState<Number?>
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, ObservableState<Number?>
fun Container.rangeInput(value: Number? = null, min: Number = 0, max: Number = 100, step: Number = DEFAULT_STEP, classes: Set<String>? = null, className: String? = null, 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, JQueryAjaxSettings) -> 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, JQueryAjaxSettings) -> 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
fun decodeURIComponent(encodedURI: String): String
enum class HttpType
open class Select : SimplePanel, StringFormControl, ObservableState<String?>
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, ObservableState<String?>
fun Container.selectInput(options: List<StringPair>? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, classes: Set<String>? = null, className: String? = null, 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>? = null, className: String? = null, init: (SelectOptGroup.() -> Unit)? = null): SelectOptGroup
fun SelectInput.selectOptGroup(label: String, options: List<StringPair>? = null, maxOptions: Int? = null, disabled: Boolean = false, classes: Set<String>? = null, className: String? = null, 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>? = null, className: String? = null, 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>? = null, className: String? = null, 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>? = null, className: String? = null, init: (SelectOption.() -> Unit)? = null): SelectOption
open class SelectRemote<T : Any> : SimplePanel, StringFormControl, ObservableState<String?>
Module Contents
SelectRemote(serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<RemoteOption>, 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 getState(): String?
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 removeEventListener(id: Int): Widget
open fun removeEventListeners(): Widget
var rich: Boolean
var selectWidth: CssSize?
var selectWidthType: SelectWidthType?
open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Int
open fun showOptions(): Unit
var style: ButtonStyle?
open fun subscribe(observer: (String?) -> Unit): () -> Unit
open fun toggleOptions(): Unit
open var value: String?
fun <T : Any> Container.selectRemote(serviceManager: KVServiceManager<T>, function: suspend T.(String?, String?, String?) -> List<RemoteOption>, 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<RemoteOption>, stateFunction: (() -> String)? = null, value: String? = null, multiple: Boolean = false, ajaxOptions: AjaxOptions? = null, preload: Boolean = false, classes: Set<String>? = null, className: String? = null, init: (SelectRemoteInput<T>.() -> Unit)? = null): SelectRemoteInput<T>
enum class SelectWidthType
open class SimpleSelect : SimplePanel, StringFormControl, ObservableState<String?>
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, ObservableState<String?>
fun Container.simpleSelectInput(options: List<StringPair>? = null, value: String? = null, emptyOption: Boolean = false, classes: Set<String>? = null, className: String? = null, 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, ObservableState<Number?>
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 getState(): Number?
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 removeEventListener(id: Int): Widget
open fun removeEventListeners(): Widget
var rich: Boolean
open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Int
open fun spinDown(): Spinner
open fun spinUp(): Spinner
var startValue: Number?
var step: Number
open fun styleForHorizontalFormPanel(horizontalRatio: FormHorizontalRatio): Unit
open fun subscribe(observer: (Number?) -> Unit): () -> 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, ObservableState<Number?>
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>? = null, className: String? = null, init: (SpinnerInput.() -> Unit)? = null): SpinnerInput
package pl.treksoft.kvision.form.text
Module Contents
abstract class AbstractText : SimplePanel, StringFormControl, ObservableState<String?>
abstract class AbstractTextInput : Widget, FormInput, ObservableState<String?>
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>? = null, className: String? = null, 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>? = null, className: String? = null, init: (TextAreaInput.() -> Unit)? = null): TextAreaInput
open class TextInput : AbstractTextInput
fun Container.textInput(type: TextInputType = TextInputType.TEXT, value: String? = null, classes: Set<String>? = null, className: String? = null, 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>? = null, className: String? = null, 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
Module Contents
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, taAjaxOptions: TaAjaxOptions? = null, classes: Set<String> = setOf())
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, taAjaxOptions: TaAjaxOptions? = null, classes: Set<String>? = null, className: String? = null, init: (TypeaheadRemoteInput<T>.() -> Unit)? = null): TypeaheadRemoteInput<T>
package pl.treksoft.kvision.form.time
Module Contents
open class DateTime : SimplePanel, DateFormControl, ObservableState<Date?>
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, ObservableState<Date?>
fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String>? = null, className: String? = null, 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>? = null, className: String? = null, 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>? = null, className: String? = null, init: (Bold.() -> Unit)? = null): Bold
open class Button : SimplePanel
fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, separator: String? = null, labelFirst: Boolean = true, classes: Set<String>? = null, className: String? = null, 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>? = null, className: String? = null, init: (Canvas.() -> Unit)? = null): Canvas
open class CustomTag : Tag
fun Container.customTag(elementName: String, content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String>? = null, className: String? = null, attributes: Map<String, String> = mapOf(), init: (CustomTag.() -> Unit)? = null): CustomTag
open class Div : Tag
fun Container.div(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String>? = null, className: String? = null, init: (Div.() -> Unit)? = null): Div
open class Fieldset : Tag
fun Container.fieldset(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String>? = null, className: String? = null, init: (Fieldset.() -> Unit)? = null): Fieldset
open class Footer : Tag
fun Container.footer(: String? = null, : Boolean = false, : Align? = null, : Set<String>? = null, : String? = null, : (Footer.() -> Unit)? = null): Footer
open class H1 : Tag
fun Container.h1(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String>? = null, className: String? = null, init: (H1.() -> Unit)? = null): H1
open class H2 : Tag
fun Container.h2(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String>? = null, className: String? = null, init: (H2.() -> Unit)? = null): H2
open class H3 : Tag
fun Container.h3(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String>? = null, className: String? = null, init: (H3.() -> Unit)? = null): H3
open class H4 : Tag
fun Container.h4(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String>? = null, className: String? = null, init: (H4.() -> Unit)? = null): H4
open class H5 : Tag
fun Container.h5(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String>? = null, className: String? = null, init: (H5.() -> Unit)? = null): H5
open class H6 : Tag
fun Container.h6(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String>? = null, className: String? = null, init: (H6.() -> Unit)? = null): H6
open class Header : Tag
fun Container.header(: String? = null, : Boolean = false, : Align? = null, : Set<String>? = null, : String? = null, : (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>? = null, className: String? = null, 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>? = null, className: String? = null, init: (Image.() -> Unit)? = null): Image
enum class ImageShape
open class Li : Tag
fun Container.li(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String>? = null, className: String? = null, init: (Li.() -> Unit)? = null): Li
open class Link : SimplePanel
fun Container.link(label: String, url: String? = null, icon: String? = null, image: ResString? = null, separator: String? = null, labelFirst: Boolean = true, classes: Set<String>? = null, className: String? = null, init: (Link.() -> Unit)? = null): Link
open class ListTag : SimplePanel
fun Container.listTag(type: ListType, elements: List<String>? = null, rich: Boolean = false, classes: Set<String>? = null, className: String? = null, 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>? = null, className: String? = null, init: (Main.() -> Unit)? = null): Main
open class Nav : Tag
fun Container.nav(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String>? = null, className: String? = null, init: (Nav.() -> Unit)? = null): Nav
open class Ol : ListTag
fun Container.ol(elements: List<String>? = null, rich: Boolean = false, classes: Set<String>? = null, className: String? = null, init: (Ol.() -> Unit)? = null): Ol
open class P : Tag
fun Container.p(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String>? = null, className: String? = null, 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>? = null, className: String? = null, init: (Section.() -> Unit)? = null): Section
fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit
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>? = null, className: String? = null, 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>? = null, className: String? = null, attributes: Map<String, String> = mapOf(), init: (Tag.() -> Unit)? = null): Tag
interface Template
open class TextNode : Widget
fun Container.textNode(content: String, rich: Boolean = false, init: (TextNode.() -> Unit)? = null): TextNode
open class Ul : ListTag
fun Container.ul(elements: List<String>? = null, rich: Boolean = false, classes: Set<String>? = null, className: String? = null, init: (Ul.() -> Unit)? = null): Ul
package pl.treksoft.kvision.i18n
package pl.treksoft.kvision.maps
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 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>? = null, className: String? = null, 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, collapseOnClick: Boolean = false, classes: Set<String>? = null, className: String? = null, 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>? = null, className: String? = null, init: (NavForm.() -> Unit)? = null): NavForm
fun Nav.navLink(label: String, url: String? = null, icon: String? = null, image: ResString? = null, classes: Set<String>? = null, className: String? = null, init: (Link.() -> Unit)? = null): Link
fun Nav.navLinkDisabled(label: String, icon: String? = null, image: ResString? = null, classes: Set<String>? = null, className: String? = null, init: (Link.() -> Unit)? = null): Link
fun Navbar.navText(label: String, classes: Set<String>? = null, className: String? = null): 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 ContainerType
enum class Direction
open class DockPanel : SimplePanel
fun Container.dockPanel(classes: Set<String>? = null, className: String? = null, init: (DockPanel.() -> Unit)? = null): DockPanel
open class FieldsetPanel : SimplePanel
fun Container.fieldsetPanel(legend: String? = null, classes: Set<String>? = null, className: String? = null, 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>? = null, className: String? = null, 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>? = null, className: String? = null, 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>? = null, className: String? = null, 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>? = null, className: String? = null, init: (ResponsiveGridPanel.() -> Unit)? = null): ResponsiveGridPanel
class Root : SimplePanel
Module Contents
Root(id: String, containerType: ContainerType = ContainerType.FLUID, addRow: Boolean = containerType != ContainerType.FIXED, init: (Root.() -> Unit)? = null)
Root(element: HTMLElement, containerType: ContainerType = ContainerType.FLUID, addRow: Boolean = containerType != ContainerType.FIXED, init: (Root.() -> Unit)? = null)
Root(id: String, fixed: Boolean = false, containerType: ContainerType = if (fixed) ContainerType.FIXED else ContainerType.FLUID, addRow: Boolean = !fixed, init: (Root.() -> Unit)? = null)
Root(element: HTMLElement, fixed: Boolean = false, containerType: ContainerType = if (fixed) ContainerType.FIXED else ContainerType.FLUID, addRow: Boolean = !fixed, init: (Root.() -> Unit)? = null)
fun addContextMenu(: Widget): Unit
fun getRoot(): Root?
protected fun getSnClass(): List<StringBoolPair>
val isFirstRoot: Boolean
protected fun render(): VNode
fun Application.root(id: String, containerType: ContainerType = ContainerType.FLUID, addRow: Boolean = containerType != ContainerType.FIXED, init: Root.() -> Unit): Root
fun Application.root(element: HTMLElement, containerType: ContainerType = ContainerType.FLUID, addRow: Boolean = containerType != ContainerType.FIXED, init: Root.() -> Unit): Root
fun Application.root(id: String, fixed: Boolean = false, containerType: ContainerType = if (fixed) ContainerType.FIXED else ContainerType.FLUID, addRow: Boolean = !fixed, init: Root.() -> Unit): Root
fun Application.root(element: HTMLElement, fixed: Boolean = false, containerType: ContainerType = if (fixed) ContainerType.FIXED else ContainerType.FLUID, addRow: Boolean = !fixed, init: Root.() -> Unit): Root
enum class Side
enum class SideTabSize
open class SimplePanel : Widget, Container
fun Container.simplePanel(classes: Set<String>? = null, className: String? = null, init: (SimplePanel.() -> Unit)? = null): SimplePanel
open class SplitPanel : SimplePanel
fun Container.splitPanel(direction: Direction = Direction.VERTICAL, classes: Set<String>? = null, className: String? = null, init: (SplitPanel.() -> Unit)? = null): SplitPanel
open class StackPanel : SimplePanel
fun Container.stackPanel(activateLast: Boolean = true, classes: Set<String>? = null, className: String? = null, 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>? = null, className: String? = null, 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>? = null, className: String? = null, 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>? = null, className: String? = null, init: (ProgressBar.() -> Unit)? = null): ProgressBar
enum class ProgressBarStyle
package pl.treksoft.kvision.react
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: Middleware<S>): ReduxStore<S, A>
fun <S : Any, A : RAction> createReduxStore(reducer: Reducer<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
open class CallAgent
data class Credentials
fun getWebSocketUrl(url: String): String
const val HTTP_UNAUTHORIZED: Int
enum class HttpMethod
object JSON
data class JsonRpcRequest
data class JsonRpcResponse
open class KVRemoteAgent<T : Any> : RemoteAgent
Module Contents
KVRemoteAgent(serviceManager: KVServiceMgr<T>, beforeSend: ((JQueryXHR, JQueryAjaxSettings) -> Boolean)? = null)
val beforeSend: ((JQueryXHR, JQueryAjaxSettings) -> Boolean)?
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>
suspend inline fun <reified PAR1, reified PAR2, reified PAR3, reified PAR4, reified PAR5, reified PAR6, reified RET : Any, T> call(noinline function: suspend T.(PAR1, PAR2, PAR3, PAR4, PAR5, PAR6) -> RET, p1: PAR1, p2: PAR2, p3: PAR3, p4: PAR4, p5: PAR5, p6: PAR6): RET
suspend inline fun <reified PAR1, reified PAR2, reified PAR3, reified PAR4, reified PAR5, reified PAR6, reified RET : Any, T> call(noinline function: suspend T.(PAR1, PAR2, PAR3, PAR4, PAR5, PAR6) -> List<RET>, p1: PAR1, p2: PAR2, p3: PAR3, p4: PAR4, p5: PAR5, p6: PAR6): List<RET>
val callAgent: CallAgent
val serviceManager: KVServiceMgr<T>
suspend inline fun <reified PAR1 : Any, reified PAR2 : Any> webSocket(noinline function: suspend T.(ReceiveChannel<PAR1>, SendChannel<PAR2>) -> Unit, noinline handler: suspend (SendChannel<PAR1>, ReceiveChannel<PAR2>) -> Unit): Unit
suspend inline fun <reified PAR1 : Any, reified PAR2 : Any> webSocket(noinline function: suspend T.(ReceiveChannel<PAR1>, SendChannel<List<PAR2>>) -> Unit, noinline handler: suspend (SendChannel<PAR1>, ReceiveChannel<List<PAR2>>) -> Unit): Unit
open class KVServiceManager<T : Any>
Module Contents
KVServiceManager(serviceClass: KClass<T>)
protected inline fun <reified RET> bind(noinline function: suspend T.() -> RET, method: HttpMethod = HttpMethod.POST, route: String? = null): Unit
protected inline fun <reified PAR, reified RET> bind(noinline function: suspend T.(PAR) -> RET, method: HttpMethod = HttpMethod.POST, route: String? = null): Unit
protected inline fun <reified PAR1, reified PAR2, reified RET> bind(noinline function: suspend T.(PAR1, PAR2) -> RET, method: HttpMethod = HttpMethod.POST, route: String? = null): Unit
protected inline fun <reified PAR1, reified PAR2, reified PAR3, reified RET> bind(noinline function: suspend T.(PAR1, PAR2, PAR3) -> RET, method: HttpMethod = HttpMethod.POST, route: String? = null): Unit
protected inline fun <reified PAR1, reified PAR2, reified PAR3, reified PAR4, reified RET> bind(noinline function: suspend T.(PAR1, PAR2, PAR3, PAR4) -> RET, method: HttpMethod = HttpMethod.POST, route: String? = null): Unit
protected 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 = HttpMethod.POST, route: String? = null): Unit
protected inline fun <reified PAR1, reified PAR2, reified PAR3, reified PAR4, reified PAR5, reified PAR6, reified RET> bind(noinline function: suspend T.(PAR1, PAR2, PAR3, PAR4, PAR5, PAR6) -> RET, method: HttpMethod = HttpMethod.POST, route: String? = null): Unit
protected inline fun <reified PAR1 : Any, reified PAR2 : Any> bind(noinline function: suspend T.(ReceiveChannel<PAR1>, SendChannel<PAR2>) -> Unit, route: String? = null): Unit
protected inline fun <reified RET> bindTabulatorRemote(noinline function: suspend T.(Int?, Int?, List<RemoteFilter>?, List<RemoteSorter>?, String?) -> RemoteData<RET>, route: String? = null): Unit
protected val calls: MutableMap<String, Pair<String, HttpMethod>>
var counter: Int
open fun getCalls(): Map<String, Pair<String, HttpMethod>>
interface KVServiceMgr<T : Any>
class LoginService
class NotEnumTypeException : Exception
class NotStandardTypeException : Exception
fun obj(init: dynamic.() -> Unit): dynamic
class Object
interface RemoteAgent
data class RemoteData<T>
data class RemoteFilter
data class RemoteOption
data class RemoteSorter
class SecurityException : Exception
abstract class SecurityMgr
class ServiceException : Exception
class Socket
class SocketClosedException : Throwable
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
fun <S, W : Widget> W.bind(observableState: ObservableState<S>, factory: W.(S) -> Unit): W
interface ObservableList<T> : MutableList<T>, ObservableState<List<T>>
fun <T> observableListOf(vararg items: T): ObservableList<T>
class ObservableListWrapper<T> : MutableList<T>, ObservableList<T>, ObservableState<List<T>>
interface ObservableSet<T> : MutableSet<T>, ObservableState<Set<T>>
fun <T> observableSetOf(vararg items: T): ObservableSet<T>
class ObservableSetWrapper<T> : MutableSet<T>, ObservableSet<T>, ObservableState<Set<T>>
interface ObservableState<S>
class ObservableValue<T> : ObservableState<T>
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>? = null, className: String? = null, init: (Cell.() -> Unit)? = null): Cell
open class HeaderCell : Tag
fun Row.headerCell(: String? = null, : Boolean = false, : Align? = null, : Scope? = null, : Set<String>? = null, : String? = null, : (HeaderCell.() -> Unit)? = null): HeaderCell
enum class ResponsiveType
open class Row : Tag
fun Table.row(classes: Set<String>? = null, className: String? = null, 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>? = null, className: String? = null, init: (Table.() -> Unit)? = null): Table
enum class TableType
fun Row.thcell(: String? = null, : Boolean = false, : Align? = null, : Set<String>? = null, : String? = null, : (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: CellComponent) -> String)? = null, cssClass: String? = null, rowHandle: Boolean? = null, hideInHtml: Boolean? = null, sorter: Sorter? = null, sorterFunction: ((dynamic, dynamic, aRow: RowComponent, bRow: RowComponent, column: ColumnComponent, dir: SortingDir, dynamic) -> Number)? = null, sorterParams: dynamic = null, formatter: Formatter? = null, formatterFunction: ((cell: CellComponent, dynamic, onRendered: (callback: () -> Unit) -> Unit) -> dynamic)? = null, formatterComponentFunction: ((cell: CellComponent, onRendered: (callback: () -> Unit) -> Unit, data: T) -> Component)? = null, formatterParams: dynamic = null, variableHeight: Boolean? = null, editable: ((cell: CellComponent) -> Boolean)? = null, editor: Editor? = null, editorFunction: ((cell: CellComponent, onRendered: (callback: () -> Unit) -> Unit, success: (dynamic) -> Unit, cancel: (dynamic) -> Unit, dynamic) -> dynamic)? = null, editorComponentFunction: ((cell: 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: ColumnComponent) -> Unit)? = null, headerDblClick: ((dynamic, column: ColumnComponent) -> Unit)? = null, headerContext: ((dynamic, column: ColumnComponent) -> Unit)? = null, headerTap: ((dynamic, column: ColumnComponent) -> Unit)? = null, headerDblTap: ((dynamic, column: ColumnComponent) -> Unit)? = null, headerTapHold: ((dynamic, column: ColumnComponent) -> Unit)? = null, headerTooltip: ((column: 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: CellComponent) -> Unit)? = null, cellDblClick: ((dynamic, cell: CellComponent) -> Unit)? = null, cellContext: ((dynamic, cell: CellComponent) -> Unit)? = null, cellTap: ((dynamic, cell: CellComponent) -> Unit)? = null, cellDblTap: ((dynamic, cell: CellComponent) -> Unit)? = null, cellTapHold: ((dynamic, cell: CellComponent) -> Unit)? = null, cellMouseEnter: ((dynamic, cell: CellComponent) -> Unit)? = null, cellMouseLeave: ((dynamic, cell: CellComponent) -> Unit)? = null, cellMouseOver: ((dynamic, cell: CellComponent) -> Unit)? = null, cellMouseOut: ((dynamic, cell: CellComponent) -> Unit)? = null, cellMouseMove: ((dynamic, cell: CellComponent) -> Unit)? = null, cellEditing: ((cell: CellComponent) -> Unit)? = null, cellEdited: ((cell: CellComponent) -> Unit)? = null, cellEditCancelled: ((cell: CellComponent) -> Unit)? = null, headerMenu: dynamic = null, headerContextMenu: dynamic = null, contextMenu: dynamic = null, hozAlign: Align? = null, vertAlign: VAlign? = null)
val align: Align?
val bottomCalc: Calc?
val bottomCalcFormatter: Formatter?
val bottomCalcFormatterParams: dynamic
val bottomCalcParams: dynamic
val cellClick: ((dynamic, cell: CellComponent) -> Unit)?
val cellContext: ((dynamic, cell: CellComponent) -> Unit)?
val cellDblClick: ((dynamic, cell: CellComponent) -> Unit)?
val cellDblTap: ((dynamic, cell: CellComponent) -> Unit)?
val cellEditCancelled: ((cell: CellComponent) -> Unit)?
val cellEdited: ((cell: CellComponent) -> Unit)?
val cellEditing: ((cell: CellComponent) -> Unit)?
val cellMouseEnter: ((dynamic, cell: CellComponent) -> Unit)?
val cellMouseLeave: ((dynamic, cell: CellComponent) -> Unit)?
val cellMouseMove: ((dynamic, cell: CellComponent) -> Unit)?
val cellMouseOut: ((dynamic, cell: CellComponent) -> Unit)?
val cellMouseOver: ((dynamic, cell: CellComponent) -> Unit)?
val cellTap: ((dynamic, cell: CellComponent) -> Unit)?
val cellTapHold: ((dynamic, cell: CellComponent) -> Unit)?
val columns: List<ColumnDefinition<T>>?
val contextMenu: dynamic
val cssClass: String?
val download: Boolean?
val downloadTitle: String?
val editable: ((cell: CellComponent) -> Boolean)?
val editableTitle: Boolean?
val editor: Editor?
val editorComponentFunction: ((cell: CellComponent, onRendered: (callback: () -> Unit) -> Unit, success: (dynamic) -> Unit, cancel: (dynamic) -> Unit, data: T) -> Component)?
val editorFunction: ((cell: 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: CellComponent, onRendered: (callback: () -> Unit) -> Unit, data: T) -> Component)?
val formatterFunction: ((cell: CellComponent, dynamic, onRendered: (callback: () -> Unit) -> Unit) -> dynamic)?
val formatterParams: dynamic
val frozen: Boolean?
val headerClick: ((dynamic, column: ColumnComponent) -> Unit)?
val headerContext: ((dynamic, column: ColumnComponent) -> Unit)?
val headerContextMenu: dynamic
val headerDblClick: ((dynamic, column: ColumnComponent) -> Unit)?
val headerDblTap: ((dynamic, column: 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 headerMenu: dynamic
val headerSort: Boolean?
val headerSortStartingDir: SortingDir?
val headerSortTristate: Boolean?
val headerTap: ((dynamic, column: ColumnComponent) -> Unit)?
val headerTapHold: ((dynamic, column: ColumnComponent) -> Unit)?
val headerTooltip: ((column: ColumnComponent) -> String)?
val headerVertical: Boolean?
val hideInHtml: Boolean?
val hozAlign: Align?
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: RowComponent, bRow: RowComponent, column: ColumnComponent, dir: SortingDir, dynamic) -> Number)?
val sorterParams: dynamic
val title: String
val titleFormatter: Formatter?
val titleFormatterParams: dynamic
val tooltip: ((cell: 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 vertAlign: VAlign?
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: 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): 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<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>? = null, className: String? = null, 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>? = null, className: String? = null, init: (Tabulator<T>.() -> Unit)? = null): Tabulator<T>
fun <T : Any> Container.tabulator(options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String>? = null, className: String? = null, 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: 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: RowComponent) -> Unit)? = null, addRowPos: RowPos? = null, selectable: dynamic = null, selectableRangeMode: RangeMode? = null, selectableRollingSelection: Boolean? = null, selectablePersistence: Boolean? = null, selectableCheck: ((row: 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<Sorter>? = null, sortOrderReverse: Boolean? = null, initialFilter: List<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: RowComponent, level: Number) -> Boolean)? = null, dataTreeRowExpanded: ((row: RowComponent, level: Number) -> Unit)? = null, dataTreeRowCollapsed: ((row: RowComponent, level: Number) -> Unit)? = null, movableRowsSendingStart: ((toTables: Array<Any>) -> Unit)? = null, movableRowsSent: ((fromRow: RowComponent, toRow: RowComponent, toTable: Tabulator) -> Unit)? = null, movableRowsSentFailed: ((fromRow: RowComponent, toRow: RowComponent, toTable: Tabulator) -> Unit)? = null, movableRowsSendingStop: ((toTables: Array<Any>) -> Unit)? = null, movableRowsReceivingStart: ((fromRow: RowComponent, toTable: Tabulator) -> Unit)? = null, movableRowsReceived: ((fromRow: RowComponent, toRow: RowComponent, fromTable: Tabulator) -> Unit)? = null, movableRowsReceivedFailed: ((fromRow: RowComponent, toRow: RowComponent, fromTable: Tabulator) -> Unit)? = null, movableRowsReceivingStop: ((fromTable: Tabulator) -> Unit)? = null, rowClick: ((dynamic, row: RowComponent) -> Unit)? = null, rowDblClick: ((dynamic, row: RowComponent) -> Unit)? = null, rowContext: ((dynamic, row: RowComponent) -> Unit)? = null, rowTap: ((dynamic, row: RowComponent) -> Unit)? = null, rowDblTap: ((dynamic, row: RowComponent) -> Unit)? = null, rowTapHold: ((dynamic, row: RowComponent) -> Unit)? = null, rowMouseEnter: ((dynamic, row: RowComponent) -> Unit)? = null, rowMouseLeave: ((dynamic, row: RowComponent) -> Unit)? = null, rowMouseOver: ((dynamic, row: RowComponent) -> Unit)? = null, rowMouseOut: ((dynamic, row: RowComponent) -> Unit)? = null, rowMouseMove: ((dynamic, row: RowComponent) -> Unit)? = null, rowAdded: ((row: RowComponent) -> Unit)? = null, rowUpdated: ((row: RowComponent) -> Unit)? = null, rowDeleted: ((row: RowComponent) -> Unit)? = null, rowMoved: ((row: RowComponent) -> Unit)? = null, rowResized: ((row: RowComponent) -> Unit)? = null, rowSelectionChanged: ((data: Array<Any>, rows: Array<RowComponent>) -> Unit)? = null, rowSelected: ((row: RowComponent) -> Unit)? = null, rowDeselected: ((row: RowComponent) -> Unit)? = null, cellClick: ((e: Any, cell: CellComponent) -> Unit)? = null, cellDblClick: ((e: Any, cell: CellComponent) -> Unit)? = null, cellContext: ((e: Any, cell: CellComponent) -> Unit)? = null, cellTap: ((e: Any, cell: CellComponent) -> Unit)? = null, cellDblTap: ((e: Any, cell: CellComponent) -> Unit)? = null, cellTapHold: ((e: Any, cell: CellComponent) -> Unit)? = null, cellMouseEnter: ((e: Any, cell: CellComponent) -> Unit)? = null, cellMouseLeave: ((e: Any, cell: CellComponent) -> Unit)? = null, cellMouseOver: ((e: Any, cell: CellComponent) -> Unit)? = null, cellMouseOut: ((e: Any, cell: CellComponent) -> Unit)? = null, cellMouseMove: ((e: Any, cell: CellComponent) -> Unit)? = null, cellEditing: ((cell: CellComponent) -> Unit)? = null, cellEdited: ((cell: CellComponent) -> Unit)? = null, cellEditCancelled: ((cell: CellComponent) -> Unit)? = null, columnMoved: ((column: ColumnComponent, columns: Array<dynamic>) -> Unit)? = null, columnResized: ((column: ColumnComponent) -> Unit)? = null, columnVisibilityChanged: ((column: ColumnComponent, visible: Boolean) -> Unit)? = null, columnTitleChanged: ((column: 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<Sorter>) -> Unit)? = null, dataSorted: ((sorters: Array<Sorter>, rows: Array<RowComponent>) -> Unit)? = null, dataFiltering: ((filters: Array<Filter>) -> Unit)? = null, dataFiltered: ((filters: Array<Filter>, rows: Array<RowComponent>) -> Unit)? = null, validationFailed: ((cell: 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, persistence: dynamic = null, persistenceReaderFunc: dynamic = null, persistenceWriterFunc: dynamic = null, paginationInitialPage: Int? = null, columnHeaderVertAlign: VAlign? = null, maxHeight: String? = null, minHeight: String? = null, rowContextMenu: dynamic = null, dataTreeChildColumnCalcs: Boolean? = null, dataTreeSelectPropagate: Boolean? = null, cellHozAlign: Align? = null, cellVertAlign: VAlign? = null, headerFilterLiveFilterDelay: Int? = 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: CellComponent) -> Unit)?
var cellContext: ((e: Any, cell: CellComponent) -> Unit)?
var cellDblClick: ((e: Any, cell: CellComponent) -> Unit)?
var cellDblTap: ((e: Any, cell: CellComponent) -> Unit)?
var cellEditCancelled: ((cell: CellComponent) -> Unit)?
var cellEdited: ((cell: CellComponent) -> Unit)?
var cellEditing: ((cell: CellComponent) -> Unit)?
val cellHozAlign: Align?
var cellMouseEnter: ((e: Any, cell: CellComponent) -> Unit)?
var cellMouseLeave: ((e: Any, cell: CellComponent) -> Unit)?
var cellMouseMove: ((e: Any, cell: CellComponent) -> Unit)?
var cellMouseOut: ((e: Any, cell: CellComponent) -> Unit)?
var cellMouseOver: ((e: Any, cell: CellComponent) -> Unit)?
var cellTap: ((e: Any, cell: CellComponent) -> Unit)?
var cellTapHold: ((e: Any, cell: CellComponent) -> Unit)?
val cellVertAlign: VAlign?
val columnHeaderVertAlign: VAlign?
val columnMinWidth: Int?
var columnMoved: ((column: ColumnComponent, columns: Array<dynamic>) -> Unit)?
var columnResized: ((column: ColumnComponent) -> Unit)?
val columns: List<ColumnDefinition<T>>?
var columnTitleChanged: ((column: ColumnComponent) -> Unit)?
var columnVisibilityChanged: ((column: ColumnComponent, visible: Boolean) -> Unit)?
var data: Array<T>?
var dataEdited: ((data: List<T>) -> Unit)?
var dataFiltered: ((filters: Array<Filter>, rows: Array<RowComponent>) -> Unit)?
var dataFiltering: ((filters: Array<Filter>) -> Unit)?
var dataLoaded: ((data: List<T>) -> Unit)?
var dataLoading: ((data: List<T>) -> Unit)?
var dataSorted: ((sorters: Array<Sorter>, rows: Array<RowComponent>) -> Unit)?
var dataSorting: ((sorters: Array<Sorter>) -> Unit)?
val dataTree: Boolean?
val dataTreeBranchElement: dynamic
val dataTreeChildColumnCalcs: Boolean?
val dataTreeChildField: String?
val dataTreeChildIndent: Number?
val dataTreeCollapseElement: dynamic
val dataTreeElementColumn: String?
val dataTreeExpandElement: dynamic
val dataTreeRowCollapsed: ((row: RowComponent, level: Number) -> Unit)?
val dataTreeRowExpanded: ((row: RowComponent, level: Number) -> Unit)?
val dataTreeSelectPropagate: Boolean?
val dataTreeStartExpanded: ((row: RowComponent, level: Number) -> Boolean)?
val downloadConfig: DownloadConfig?
val downloadDataFormatter: dynamic
val footerElement: String?
val headerFilterLiveFilterDelay: Int?
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<Filter>?
val initialHeaderFilter: List<Any?>?
val initialSort: List<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 maxHeight: String?
val minHeight: String?
val movableColumns: Boolean?
val movableRows: Boolean?
val movableRowsConnectedTables: dynamic
val movableRowsReceived: ((fromRow: RowComponent, toRow: RowComponent, fromTable: Tabulator) -> Unit)?
val movableRowsReceivedFailed: ((fromRow: RowComponent, toRow: RowComponent, fromTable: Tabulator) -> Unit)?
val movableRowsReceiver: dynamic
val movableRowsReceivingStart: ((fromRow: 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: RowComponent, toRow: RowComponent, toTable: Tabulator) -> Unit)?
val movableRowsSentFailed: ((fromRow: RowComponent, toRow: 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 paginationInitialPage: Int?
val paginationSize: Int?
val paginationSizeSelector: Boolean?
val persistence: dynamic
val persistenceID: String?
val persistenceMode: Boolean?
val persistenceReaderFunc: dynamic
val persistenceWriterFunc: dynamic
val persistentFilter: Boolean?
val persistentLayout: Boolean?
val 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: RowComponent) -> Unit)?
var rowClick: ((dynamic, row: RowComponent) -> Unit)?
var rowContext: ((dynamic, row: RowComponent) -> Unit)?
val rowContextMenu: dynamic
var rowDblClick: ((dynamic, row: RowComponent) -> Unit)?
var rowDblTap: ((dynamic, row: RowComponent) -> Unit)?
var rowDeleted: ((row: RowComponent) -> Unit)?
var rowDeselected: ((row: RowComponent) -> Unit)?
val rowFormatter: ((row: RowComponent) -> Unit)?
var rowMouseEnter: ((dynamic, row: RowComponent) -> Unit)?
var rowMouseLeave: ((dynamic, row: RowComponent) -> Unit)?
var rowMouseMove: ((dynamic, row: RowComponent) -> Unit)?
var rowMouseOut: ((dynamic, row: RowComponent) -> Unit)?
var rowMouseOver: ((dynamic, row: RowComponent) -> Unit)?
var rowMoved: ((row: RowComponent) -> Unit)?
var rowResized: ((row: RowComponent) -> Unit)?
var rowSelected: ((row: RowComponent) -> Unit)?
var rowSelectionChanged: ((data: Array<Any>, rows: Array<RowComponent>) -> Unit)?
var rowTap: ((dynamic, row: RowComponent) -> Unit)?
var rowTapHold: ((dynamic, row: RowComponent) -> Unit)?
var rowUpdated: ((row: RowComponent) -> Unit)?
val scrollToColumnIfVisible: Boolean?
val scrollToColumnPosition: ColumnPosition?
val scrollToRowIfVisible: Boolean?
val scrollToRowPosition: RowPosition?
val selectable: dynamic
val selectableCheck: ((row: 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: CellComponent) -> String)?
val tooltipsHeader: Boolean?
var validationFailed: ((cell: 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<RemoteFilter>?, List<RemoteSorter>?, String?) -> RemoteData<T>, stateFunction: (() -> String)? = null, options: TabulatorOptions<T> = TabulatorOptions(), types: Set<TableType> = setOf(), classes: Set<String>? = null, className: String? = null, init: (TabulatorRemote<T, E>.() -> Unit)? = null): TabulatorRemote<T, E>
fun DownloadConfig.toJs(): DownloadConfig
fun <T : Any> ColumnDefinition<T>.toJs(i18nTranslator: (String) -> String): ColumnDefinition
fun <T : Any> TabulatorOptions<T>.toJs(i18nTranslator: (String) -> String): Options
enum class TooltipGenerationMode
enum class Validator
enum class VAlign
package pl.treksoft.kvision.tabulator.js
Module Contents
open class Tabulator
Module Contents
Tabulator(selector: String, options: Options? = definedExternally)
Tabulator(selector: HTMLElement, options: Options? = definedExternally)
open fun addColumn(definition: ColumnDefinition, insertRightOfTarget: Boolean?, positionTarget: dynamic): Unit
open fun addData(data: Array<Any>?, addToTop: Boolean?, positionTarget: dynamic): Promise<RowComponent>
open fun addFilter(field: String, type: dynamic, value: Any): Unit
open fun addRow(data: Any?, addToTop: Boolean?, positionTarget: dynamic): Promise<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: CellComponent) -> Unit)?
open var cellContext: ((e: Any, cell: CellComponent) -> Unit)?
open var cellDblClick: ((e: Any, cell: CellComponent) -> Unit)?
open var cellDblTap: ((e: Any, cell: CellComponent) -> Unit)?
open var cellEditCancelled: ((cell: CellComponent) -> Unit)?
open var cellEdited: ((cell: CellComponent) -> Unit)?
open var cellEditing: ((cell: CellComponent) -> Unit)?
open var cellMouseEnter: ((e: Any, cell: CellComponent) -> Unit)?
open var cellMouseLeave: ((e: Any, cell: CellComponent) -> Unit)?
open var cellMouseMove: ((e: Any, cell: CellComponent) -> Unit)?
open var cellMouseOut: ((e: Any, cell: CellComponent) -> Unit)?
open var cellMouseOver: ((e: Any, cell: CellComponent) -> Unit)?
open var cellTap: ((e: Any, cell: CellComponent) -> Unit)?
open var cellTapHold: ((e: Any, cell: 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 : ColumnLayout, CellCallbacks
Module Contents
open var accessor: ((value: Any, data: Any, dynamic, AccessorParams: Any, column: ColumnComponent?) -> Any)?
open var accessorClipboard: ((value: Any, data: Any, dynamic, AccessorParams: Any, column: ColumnComponent?) -> Any)?
open var accessorClipboardParams: dynamic
open var accessorDownload: ((value: Any, data: Any, dynamic, AccessorParams: Any, column: 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: ColumnComponent) -> Unit)?
open var headerContext: ((e: Any, column: ColumnComponent) -> Unit)?
open var headerDblClick: ((e: Any, column: ColumnComponent) -> Unit)?
open var headerDblTap: ((e: Any, column: 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: ColumnComponent) -> Unit)?
open var headerTapHold: ((e: Any, column: 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: CellComponent?) -> Any)?
open var mutatorClipboard: ((value: Any, data: Any, dynamic, mutatorParams: Any, cell: CellComponent?) -> Any)?
open var mutatorClipboardParams: dynamic
open var mutatorData: ((value: Any, data: Any, dynamic, mutatorParams: Any, cell: CellComponent?) -> Any)?
open var mutatorDataParams: dynamic
open var mutatorEdit: ((value: Any, data: Any, dynamic, mutatorParams: Any, cell: 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 : 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: DownloadOptions?, set: String?): Unit
interface DownloadConfig
interface DownloadCSV
interface DownloadOptions : DownloadCSV, DownloadXLXS, DownloadPDF
interface DownloadPDF
open fun downloadToTab(downloadType: dynamic, fileName: String?, params: 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): ColumnComponent
open fun getColumnDefinitions(): Array<ColumnDefinition>
open fun getColumnLayout(): Array<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<Filter>
open fun getGroupedData(activeOnly: Boolean?): Any
open fun getGroups(): Array<GroupComponent>
open fun getHeaderFilters(): Array<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): RowComponent
open fun getRowFromPosition(position: Number, activeOnly: Boolean?): Unit
open fun getRowPosition(row: dynamic, activeOnly: Boolean?): Number
open fun getRows(activeOnly: Boolean?): Array<RowComponent>
open fun getSelectedData(): Array<Any>
open fun getSelectedRows(): Array<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: Options
interface Options : OptionsGeneral, OptionsHistory, OptionsLocale, OptionsDownload, OptionsColumns, OptionsRows, OptionsData, OptionsSorting, OptionsFiltering, OptionsRowGrouping, OptionsPagination, OptionsPersistentConfiguration, OptionsClipboard, OptionsDataTree, OptionsCell
interface OptionsCell
Module Contents
open var cellClick: ((e: Any, cell: CellComponent) -> Unit)?
open var cellContext: ((e: Any, cell: CellComponent) -> Unit)?
open var cellDblClick: ((e: Any, cell: CellComponent) -> Unit)?
open var cellDblTap: ((e: Any, cell: CellComponent) -> Unit)?
open var cellEditCancelled: ((cell: CellComponent) -> Unit)?
open var cellEdited: ((cell: CellComponent) -> Unit)?
open var cellEditing: ((cell: CellComponent) -> Unit)?
open var cellMouseEnter: ((e: Any, cell: CellComponent) -> Unit)?
open var cellMouseLeave: ((e: Any, cell: CellComponent) -> Unit)?
open var cellMouseMove: ((e: Any, cell: CellComponent) -> Unit)?
open var cellMouseOut: ((e: Any, cell: CellComponent) -> Unit)?
open var cellMouseOver: ((e: Any, cell: CellComponent) -> Unit)?
open var cellTap: ((e: Any, cell: CellComponent) -> Unit)?
open var cellTapHold: ((e: Any, cell: CellComponent) -> Unit)?
interface OptionsCells : 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: RowComponent, level: Number) -> Unit)?
open var dataTreeRowExpanded: ((row: RowComponent, level: Number) -> Unit)?
open var movableRows: Boolean?
open var movableRowsConnectedTables: dynamic
open var movableRowsReceived: ((fromRow: RowComponent, toRow: RowComponent, fromTable: Tabulator) -> Unit)?
open var movableRowsReceivedFailed: ((fromRow: RowComponent, toRow: RowComponent, fromTable: Tabulator) -> Unit)?
open var movableRowsReceiver: dynamic
open var movableRowsReceivingStart: ((fromRow: 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: RowComponent, toRow: RowComponent, toTable: Tabulator) -> Unit)?
open var movableRowsSentFailed: ((fromRow: RowComponent, toRow: RowComponent, toTable: Tabulator) -> Unit)?
open var resizableRows: Boolean?
open var rowAdded: ((row: RowComponent) -> Unit)?
open var rowClick: ((e: Any, row: RowComponent) -> Unit)?
open var rowContext: ((e: Any, row: RowComponent) -> Unit)?
open var rowDblClick: ((e: Any, row: RowComponent) -> Unit)?
open var rowDblTap: ((e: Any, row: RowComponent) -> Unit)?
open var rowDeleted: ((row: RowComponent) -> Unit)?
open var rowDeselected: ((row: RowComponent) -> Unit)?
open var rowFormatter: ((row: RowComponent) -> Any)?
open var rowMouseEnter: ((e: Any, row: RowComponent) -> Unit)?
open var rowMouseLeave: ((e: Any, row: RowComponent) -> Unit)?
open var rowMouseMove: ((e: Any, row: RowComponent) -> Unit)?
open var rowMouseOut: ((e: Any, row: RowComponent) -> Unit)?
open var rowMouseOver: ((e: Any, row: RowComponent) -> Unit)?
open var rowMoved: ((row: RowComponent) -> Unit)?
open var rowResized: ((row: RowComponent) -> Unit)?
open var rowSelected: ((row: RowComponent) -> Unit)?
open var rowSelectionChanged: ((data: Array<Any>, rows: Array<RowComponent>) -> Unit)?
open var rowTap: ((e: Any, row: RowComponent) -> Unit)?
open var rowTapHold: ((e: Any, row: RowComponent) -> Unit)?
open var rowUpdated: ((row: RowComponent) -> Unit)?
open var scrollToRowIfVisible: Boolean?
open var scrollToRowPosition: dynamic
open var selectable: dynamic
open var selectableCheck: ((row: 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 : 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<RowComponent>
interface SelectLabelValue
interface SelectParams
interface SelectParamsGroup
open fun selectRow(row: dynamic): Unit
open fun setColumnLayout(layout: ColumnLayout): Unit
open fun setColumns(definitions: Array<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<RowComponent>>
open fun updateOrAddRow(row: dynamic, data: Any): Promise<RowComponent>
open fun updateRow(row: dynamic, data: Any): Boolean
interface Validator
package pl.treksoft.kvision.toast
Module Contents
object Toast
enum class ToastEasing
enum class ToastMethod
data class ToastOptions
Module Contents
ToastOptions(positionClass: ToastPosition? = null, escapeHtml: Boolean? = null, closeButton: Boolean? = null, closeHtml: String? = null, closeDuration: Int? = null, newestOnTop: Boolean? = null, showEasing: ToastEasing? = null, hideEasing: ToastEasing? = null, closeEasing: ToastEasing? = null, showMethod: ToastMethod? = null, hideMethod: ToastMethod? = null, closeMethod: ToastMethod? = null, preventDuplicates: Boolean? = null, timeOut: Int? = null, extendedTimeOut: Int? = null, progressBar: Boolean? = null, rtl: Boolean? = null, onShown: (() -> Unit)? = null, onHidden: (() -> Unit)? = null, onClick: (() -> Unit)? = null, onCloseClick: (() -> Unit)? = null)
val closeButton: Boolean?
val closeDuration: Int?
val closeEasing: ToastEasing?
val closeHtml: String?
val closeMethod: ToastMethod?
val escapeHtml: Boolean?
val extendedTimeOut: Int?
val hideEasing: ToastEasing?
val hideMethod: ToastMethod?
val newestOnTop: Boolean?
val onClick: (() -> Unit)?
val onCloseClick: (() -> Unit)?
val onHidden: (() -> Unit)?
val onShown: (() -> Unit)?
val positionClass: ToastPosition?
val preventDuplicates: Boolean?
val progressBar: Boolean?
val rtl: Boolean?
val showEasing: ToastEasing?
val showMethod: ToastMethod?
val timeOut: Int?
enum class ToastPosition
package pl.treksoft.kvision.toolbar
Module Contents
open class ButtonGroup : SimplePanel
fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String>? = null, className: String? = null, init: (ButtonGroup.() -> Unit)? = null): ButtonGroup
fun Toolbar.buttonGroup(classes: Set<String>? = null, className: String? = null, init: (ButtonGroup.() -> Unit)? = null): ButtonGroup
enum class ButtonGroupSize
open class Toolbar : SimplePanel
fun Container.toolbar(size: ButtonGroupSize? = null, spacing: Int = 2, vertical: Boolean = false, classes: Set<String>? = null, className: String? = null, init: (Toolbar.() -> Unit)? = null): 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>? = null, className: String? = null, init: (Window.() -> Unit)? = null): Window