GlobalEventHandlers

external interface GlobalEventHandlers (source)

Platform and version requirements: JS

Exposes the JavaScript GlobalEventHandlers to Kotlin

Properties

onabort

abstract var onabort: (Event) -> dynamic

onblur

abstract var onblur: (Event) -> dynamic

oncancel

abstract var oncancel: (Event) -> dynamic

oncanplay

abstract var oncanplay: (Event) -> dynamic

oncanplaythrough

abstract var oncanplaythrough: (Event) -> dynamic

onchange

abstract var onchange: (Event) -> dynamic

onclick

abstract var onclick: (Event) -> dynamic

onclose

abstract var onclose: (Event) -> dynamic

oncontextmenu

abstract var oncontextmenu: (Event) -> dynamic

oncuechange

abstract var oncuechange: (Event) -> dynamic

ondblclick

abstract var ondblclick: (Event) -> dynamic

ondrag

abstract var ondrag: (Event) -> dynamic

ondragend

abstract var ondragend: (Event) -> dynamic

ondragenter

abstract var ondragenter: (Event) -> dynamic

ondragexit

abstract var ondragexit: (Event) -> dynamic

ondragleave

abstract var ondragleave: (Event) -> dynamic

ondragover

abstract var ondragover: (Event) -> dynamic

ondragstart

abstract var ondragstart: (Event) -> dynamic

ondrop

abstract var ondrop: (Event) -> dynamic

ondurationchange

abstract var ondurationchange: (Event) -> dynamic

onemptied

abstract var onemptied: (Event) -> dynamic

onended

abstract var onended: (Event) -> dynamic

onerror

abstract var onerror: (dynamic, String, Int, Int, Any?) -> dynamic

onfocus

abstract var onfocus: (Event) -> dynamic

oninput

abstract var oninput: (Event) -> dynamic

oninvalid

abstract var oninvalid: (Event) -> dynamic

onkeydown

abstract var onkeydown: (Event) -> dynamic

onkeypress

abstract var onkeypress: (Event) -> dynamic

onkeyup

abstract var onkeyup: (Event) -> dynamic

onload

abstract var onload: (Event) -> dynamic

onloadeddata

abstract var onloadeddata: (Event) -> dynamic

onloadedmetadata

abstract var onloadedmetadata: (Event) -> dynamic

onloadend

abstract var onloadend: (Event) -> dynamic

onloadstart

abstract var onloadstart: (Event) -> dynamic

onmousedown

abstract var onmousedown: (Event) -> dynamic

onmouseenter

abstract var onmouseenter: (Event) -> dynamic

onmouseleave

abstract var onmouseleave: (Event) -> dynamic

onmousemove

abstract var onmousemove: (Event) -> dynamic

onmouseout

abstract var onmouseout: (Event) -> dynamic

onmouseover

abstract var onmouseover: (Event) -> dynamic

onmouseup

abstract var onmouseup: (Event) -> dynamic

onpause

abstract var onpause: (Event) -> dynamic

onplay

abstract var onplay: (Event) -> dynamic

onplaying

abstract var onplaying: (Event) -> dynamic

onprogress

abstract var onprogress: (Event) -> dynamic

onratechange

abstract var onratechange: (Event) -> dynamic

onreset

abstract var onreset: (Event) -> dynamic

onresize

abstract var onresize: (Event) -> dynamic

onscroll

abstract var onscroll: (Event) -> dynamic

onseeked

abstract var onseeked: (Event) -> dynamic

onseeking

abstract var onseeking: (Event) -> dynamic

onselect

abstract var onselect: (Event) -> dynamic

onshow

abstract var onshow: (Event) -> dynamic

onstalled

abstract var onstalled: (Event) -> dynamic

onsubmit

abstract var onsubmit: (Event) -> dynamic

onsuspend

abstract var onsuspend: (Event) -> dynamic

ontimeupdate

abstract var ontimeupdate: (Event) -> dynamic

ontoggle

abstract var ontoggle: (Event) -> dynamic

onvolumechange

abstract var onvolumechange: (Event) -> dynamic

onwaiting

abstract var onwaiting: (Event) -> dynamic

onwheel

abstract var onwheel: (Event) -> dynamic

Inherited Functions

equals

open operator fun equals(other: Any?): Boolean

Indicates whether some other object is "equal to" this one. Implementations must fulfil the following requirements:

hashCode

open fun hashCode(): Int

Returns a hash code value for the object. The general contract of hashCode is:

toString

open fun toString(): String

Returns a string representation of the object.

Inheritors

Document

open external class Document : 
    Node,
    GlobalEventHandlers,
    DocumentAndElementEventHandlers,
    NonElementParentNode,
    DocumentOrShadowRoot,
    ParentNode,
    GeometryUtils

Exposes the JavaScript Document to Kotlin

HTMLElement

abstract external class HTMLElement : 
    Element,
    ElementCSSInlineStyle,
    GlobalEventHandlers,
    DocumentAndElementEventHandlers,
    ElementContentEditable

Exposes the JavaScript HTMLElement to Kotlin

SVGElement

abstract external class SVGElement : 
    Element,
    ElementCSSInlineStyle,
    GlobalEventHandlers,
    SVGElementInstance

Exposes the JavaScript SVGElement to Kotlin

Window

abstract external class Window : 
    EventTarget,
    GlobalEventHandlers,
    WindowEventHandlers,
    WindowOrWorkerGlobalScope,
    WindowSessionStorage,
    WindowLocalStorage,
    GlobalPerformance,
    UnionMessagePortOrWindow

Exposes the JavaScript Window to Kotlin