Package org.w3c.dom

Platform and version requirements: JS

Kotlin JavaScript wrappers for the DOM API.

Types

AbstractWorker

external interface AbstractWorker

Exposes the JavaScript AbstractWorker to Kotlin

AddEventListenerOptions

external interface AddEventListenerOptions : 
    EventListenerOptions

ApplicationCache

abstract external class ApplicationCache : EventTarget

AssignedNodesOptions

external interface AssignedNodesOptions

Attr

abstract external class Attr : Node

Exposes the JavaScript Attr to Kotlin

AudioTrack

abstract external class AudioTrack : 
    UnionAudioTrackOrTextTrackOrVideoTrack

AudioTrackList

abstract external class AudioTrackList : EventTarget

BarProp

abstract external class BarProp

BeforeUnloadEvent

open external class BeforeUnloadEvent : Event

Exposes the JavaScript BeforeUnloadEvent to Kotlin

BinaryType

external interface BinaryType

BoxQuadOptions

external interface BoxQuadOptions

BroadcastChannel

open external class BroadcastChannel : EventTarget

Exposes the JavaScript BroadcastChannel to Kotlin

CDATASection

open external class CDATASection : Text

Exposes the JavaScript CDATASection to Kotlin

CSSBoxType

external interface CSSBoxType

CanPlayTypeResult

external interface CanPlayTypeResult

CanvasCompositing

external interface CanvasCompositing

CanvasDirection

external interface CanvasDirection

CanvasDrawImage

external interface CanvasDrawImage

CanvasDrawPath

external interface CanvasDrawPath

CanvasFillRule

external interface CanvasFillRule

CanvasFillStrokeStyles

external interface CanvasFillStrokeStyles

CanvasFilters

external interface CanvasFilters

CanvasGradient

abstract external class CanvasGradient

Exposes the JavaScript CanvasGradient to Kotlin

CanvasHitRegion

external interface CanvasHitRegion

CanvasImageData

external interface CanvasImageData

CanvasImageSmoothing

external interface CanvasImageSmoothing

CanvasLineCap

external interface CanvasLineCap

CanvasLineJoin

external interface CanvasLineJoin

CanvasPath

external interface CanvasPath

CanvasPathDrawingStyles

external interface CanvasPathDrawingStyles

CanvasPattern

abstract external class CanvasPattern

Exposes the JavaScript CanvasPattern to Kotlin

CanvasRect

external interface CanvasRect

CanvasRenderingContext2D

abstract external class CanvasRenderingContext2D : 
    CanvasState,
    CanvasTransform,
    CanvasCompositing,
    CanvasImageSmoothing,
    CanvasFillStrokeStyles,
    CanvasShadowStyles,
    CanvasFilters,
    CanvasRect,
    CanvasDrawPath,
    CanvasUserInterface,
    CanvasText,
    CanvasDrawImage,
    CanvasHitRegion,
    CanvasImageData,
    CanvasPathDrawingStyles,
    CanvasTextDrawingStyles,
    CanvasPath,
    RenderingContext

Exposes the JavaScript CanvasRenderingContext2D to Kotlin

CanvasRenderingContext2DSettings

external interface CanvasRenderingContext2DSettings

CanvasShadowStyles

external interface CanvasShadowStyles

CanvasState

external interface CanvasState

CanvasText

external interface CanvasText

CanvasTextAlign

external interface CanvasTextAlign

CanvasTextBaseline

external interface CanvasTextBaseline

CanvasTextDrawingStyles

external interface CanvasTextDrawingStyles

CanvasTransform

external interface CanvasTransform

CanvasUserInterface

external interface CanvasUserInterface

CaretPosition

abstract external class CaretPosition

Exposes the JavaScript CaretPosition to Kotlin

CharacterData

abstract external class CharacterData : 
    Node,
    NonDocumentTypeChildNode,
    ChildNode

Exposes the JavaScript CharacterData to Kotlin

ChildNode

external interface ChildNode

Exposes the JavaScript ChildNode to Kotlin

CloseEvent

open external class CloseEvent : Event

Exposes the JavaScript CloseEvent to Kotlin

CloseEventInit

external interface CloseEventInit : EventInit

ColorSpaceConversion

external interface ColorSpaceConversion

Comment

open external class Comment : CharacterData

Exposes the JavaScript Comment to Kotlin

ConvertCoordinateOptions

external interface ConvertCoordinateOptions

CustomElementRegistry

abstract external class CustomElementRegistry

Exposes the JavaScript CustomElementRegistry to Kotlin

CustomEvent

open external class CustomEvent : Event

Exposes the JavaScript CustomEvent to Kotlin

CustomEventInit

external interface CustomEventInit : EventInit

DOMImplementation

abstract external class DOMImplementation

Exposes the JavaScript DOMImplementation to Kotlin

DOMMatrix

open external class DOMMatrix : DOMMatrixReadOnly

Exposes the JavaScript DOMMatrix to Kotlin

DOMMatrixReadOnly

open external class DOMMatrixReadOnly

Exposes the JavaScript DOMMatrixReadOnly to Kotlin

DOMPoint

open external class DOMPoint : DOMPointReadOnly

Exposes the JavaScript DOMPoint to Kotlin

DOMPointInit

external interface DOMPointInit

DOMPointReadOnly

open external class DOMPointReadOnly

Exposes the JavaScript DOMPointReadOnly to Kotlin

DOMQuad

open external class DOMQuad

Exposes the JavaScript DOMQuad to Kotlin

DOMRect

open external class DOMRect : DOMRectReadOnly

Exposes the JavaScript DOMRect to Kotlin

DOMRectInit

external interface DOMRectInit

DOMRectList

external interface DOMRectList : ItemArrayLike<DOMRect>

DOMRectReadOnly

open external class DOMRectReadOnly

Exposes the JavaScript DOMRectReadOnly to Kotlin

DOMStringMap

abstract external class DOMStringMap

Exposes the JavaScript DOMStringMap to Kotlin

DOMTokenList

abstract external class DOMTokenList : ItemArrayLike<String>

Exposes the JavaScript DOMTokenList to Kotlin

DataTransfer

abstract external class DataTransfer

Exposes the JavaScript DataTransfer to Kotlin

DataTransferItem

abstract external class DataTransferItem

Exposes the JavaScript DataTransferItem to Kotlin

DataTransferItemList

abstract external class DataTransferItemList

Exposes the JavaScript DataTransferItemList to Kotlin

DedicatedWorkerGlobalScope

abstract external class DedicatedWorkerGlobalScope : 
    WorkerGlobalScope

Exposes the JavaScript DedicatedWorkerGlobalScope to Kotlin

Document

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

Exposes the JavaScript Document to Kotlin

DocumentAndElementEventHandlers

external interface DocumentAndElementEventHandlers

DocumentFragment

open external class DocumentFragment : 
    Node,
    NonElementParentNode,
    ParentNode

Exposes the JavaScript DocumentFragment to Kotlin

DocumentOrShadowRoot

external interface DocumentOrShadowRoot

Exposes the JavaScript DocumentOrShadowRoot to Kotlin

DocumentReadyState

external interface DocumentReadyState

DocumentType

abstract external class DocumentType : Node, ChildNode

Exposes the JavaScript DocumentType to Kotlin

DragEvent

open external class DragEvent : MouseEvent

Exposes the JavaScript DragEvent to Kotlin

DragEventInit

external interface DragEventInit : MouseEventInit

Element

abstract external class Element : 
    Node,
    ParentNode,
    NonDocumentTypeChildNode,
    ChildNode,
    Slotable,
    GeometryUtils,
    UnionElementOrProcessingInstruction,
    UnionElementOrHTMLCollection,
    UnionElementOrRadioNodeList,
    UnionElementOrMouseEvent

Exposes the JavaScript Element to Kotlin

ElementContentEditable

external interface ElementContentEditable

ElementCreationOptions

external interface ElementCreationOptions

ElementDefinitionOptions

external interface ElementDefinitionOptions

ErrorEvent

open external class ErrorEvent : Event

Exposes the JavaScript ErrorEvent to Kotlin

ErrorEventInit

external interface ErrorEventInit : EventInit

EventInit

external interface EventInit

EventListenerOptions

external interface EventListenerOptions

EventSource

open external class EventSource : EventTarget

Exposes the JavaScript EventSource to Kotlin

EventSourceInit

external interface EventSourceInit

External

external interface External

GeometryUtils

external interface GeometryUtils

Exposes the JavaScript GeometryUtils to Kotlin

GetRootNodeOptions

external interface GetRootNodeOptions

GlobalEventHandlers

external interface GlobalEventHandlers

Exposes the JavaScript GlobalEventHandlers to Kotlin

HTMLAllCollection

abstract external class HTMLAllCollection

HTMLAnchorElement

abstract external class HTMLAnchorElement : 
    HTMLElement,
    HTMLHyperlinkElementUtils

Exposes the JavaScript HTMLAnchorElement to Kotlin

HTMLAppletElement

abstract external class HTMLAppletElement : HTMLElement

HTMLAreaElement

abstract external class HTMLAreaElement : 
    HTMLElement,
    HTMLHyperlinkElementUtils

Exposes the JavaScript HTMLAreaElement to Kotlin

HTMLAudioElement

abstract external class HTMLAudioElement : HTMLMediaElement

Exposes the JavaScript HTMLAudioElement to Kotlin

HTMLBRElement

abstract external class HTMLBRElement : HTMLElement

Exposes the JavaScript HTMLBRElement to Kotlin

HTMLBaseElement

abstract external class HTMLBaseElement : HTMLElement

Exposes the JavaScript HTMLBaseElement to Kotlin

HTMLBodyElement

abstract external class HTMLBodyElement : 
    HTMLElement,
    WindowEventHandlers

Exposes the JavaScript HTMLBodyElement to Kotlin

HTMLButtonElement

abstract external class HTMLButtonElement : HTMLElement

Exposes the JavaScript HTMLButtonElement to Kotlin

HTMLCanvasElement

abstract external class HTMLCanvasElement : 
    HTMLElement,
    TexImageSource

Exposes the JavaScript HTMLCanvasElement to Kotlin

HTMLCollection

abstract external class HTMLCollection : 
    UnionElementOrHTMLCollection,
    ItemArrayLike<Element>

Exposes the JavaScript HTMLCollection to Kotlin

HTMLDListElement

abstract external class HTMLDListElement : HTMLElement

Exposes the JavaScript HTMLDListElement to Kotlin

HTMLDataElement

abstract external class HTMLDataElement : HTMLElement

Exposes the JavaScript HTMLDataElement to Kotlin

HTMLDataListElement

abstract external class HTMLDataListElement : HTMLElement

Exposes the JavaScript HTMLDataListElement to Kotlin

HTMLDetailsElement

abstract external class HTMLDetailsElement : HTMLElement

Exposes the JavaScript HTMLDetailsElement to Kotlin

HTMLDialogElement

abstract external class HTMLDialogElement : HTMLElement

Exposes the JavaScript HTMLDialogElement to Kotlin

HTMLDirectoryElement

abstract external class HTMLDirectoryElement : HTMLElement

HTMLDivElement

abstract external class HTMLDivElement : HTMLElement

Exposes the JavaScript HTMLDivElement to Kotlin

HTMLElement

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

Exposes the JavaScript HTMLElement to Kotlin

HTMLEmbedElement

abstract external class HTMLEmbedElement : HTMLElement

Exposes the JavaScript HTMLEmbedElement to Kotlin

HTMLFieldSetElement

abstract external class HTMLFieldSetElement : HTMLElement

Exposes the JavaScript HTMLFieldSetElement to Kotlin

HTMLFontElement

abstract external class HTMLFontElement : HTMLElement

Exposes the JavaScript HTMLFontElement to Kotlin

HTMLFormControlsCollection

abstract external class HTMLFormControlsCollection : 
    HTMLCollection

Exposes the JavaScript HTMLFormControlsCollection to Kotlin

HTMLFormElement

abstract external class HTMLFormElement : HTMLElement

Exposes the JavaScript HTMLFormElement to Kotlin

HTMLFrameElement

abstract external class HTMLFrameElement : HTMLElement

HTMLFrameSetElement

abstract external class HTMLFrameSetElement : 
    HTMLElement,
    WindowEventHandlers

Exposes the JavaScript HTMLFrameSetElement to Kotlin

HTMLHRElement

abstract external class HTMLHRElement : HTMLElement

Exposes the JavaScript HTMLHRElement to Kotlin

HTMLHeadElement

abstract external class HTMLHeadElement : HTMLElement

Exposes the JavaScript HTMLHeadElement to Kotlin

HTMLHeadingElement

abstract external class HTMLHeadingElement : HTMLElement

Exposes the JavaScript HTMLHeadingElement to Kotlin

HTMLHtmlElement

abstract external class HTMLHtmlElement : HTMLElement

Exposes the JavaScript HTMLHtmlElement to Kotlin

HTMLHyperlinkElementUtils

external interface HTMLHyperlinkElementUtils

Exposes the JavaScript HTMLHyperlinkElementUtils to Kotlin

HTMLIFrameElement

abstract external class HTMLIFrameElement : HTMLElement

Exposes the JavaScript HTMLIFrameElement to Kotlin

HTMLImageElement

abstract external class HTMLImageElement : 
    HTMLElement,
    TexImageSource,
    HTMLOrSVGImageElement

Exposes the JavaScript HTMLImageElement to Kotlin

HTMLInputElement

abstract external class HTMLInputElement : HTMLElement

Exposes the JavaScript HTMLInputElement to Kotlin

HTMLKeygenElement

abstract external class HTMLKeygenElement : HTMLElement

Exposes the JavaScript HTMLKeygenElement to Kotlin

HTMLLIElement

abstract external class HTMLLIElement : HTMLElement

Exposes the JavaScript HTMLLIElement to Kotlin

HTMLLabelElement

abstract external class HTMLLabelElement : HTMLElement

Exposes the JavaScript HTMLLabelElement to Kotlin

HTMLLegendElement

abstract external class HTMLLegendElement : HTMLElement

Exposes the JavaScript HTMLLegendElement to Kotlin

HTMLLinkElement

abstract external class HTMLLinkElement : 
    HTMLElement,
    LinkStyle

Exposes the JavaScript HTMLLinkElement to Kotlin

HTMLMapElement

abstract external class HTMLMapElement : HTMLElement

Exposes the JavaScript HTMLMapElement to Kotlin

HTMLMarqueeElement

abstract external class HTMLMarqueeElement : HTMLElement

HTMLMediaElement

abstract external class HTMLMediaElement : HTMLElement

Exposes the JavaScript HTMLMediaElement to Kotlin

HTMLMenuElement

abstract external class HTMLMenuElement : HTMLElement

HTMLMenuItemElement

abstract external class HTMLMenuItemElement : HTMLElement

HTMLMetaElement

abstract external class HTMLMetaElement : HTMLElement

Exposes the JavaScript HTMLMetaElement to Kotlin

HTMLMeterElement

abstract external class HTMLMeterElement : HTMLElement

Exposes the JavaScript HTMLMeterElement to Kotlin

HTMLModElement

abstract external class HTMLModElement : HTMLElement

Exposes the JavaScript HTMLModElement to Kotlin

HTMLOListElement

abstract external class HTMLOListElement : HTMLElement

Exposes the JavaScript HTMLOListElement to Kotlin

HTMLObjectElement

abstract external class HTMLObjectElement : HTMLElement

Exposes the JavaScript HTMLObjectElement to Kotlin

HTMLOptGroupElement

abstract external class HTMLOptGroupElement : 
    HTMLElement,
    UnionHTMLOptGroupElementOrHTMLOptionElement

Exposes the JavaScript HTMLOptGroupElement to Kotlin

HTMLOptionElement

abstract external class HTMLOptionElement : 
    HTMLElement,
    UnionHTMLOptGroupElementOrHTMLOptionElement

Exposes the JavaScript HTMLOptionElement to Kotlin

HTMLOptionsCollection

abstract external class HTMLOptionsCollection : 
    HTMLCollection

Exposes the JavaScript HTMLOptionsCollection to Kotlin

HTMLOrSVGImageElement

external interface HTMLOrSVGImageElement

HTMLOrSVGScriptElement

external interface HTMLOrSVGScriptElement

HTMLOutputElement

abstract external class HTMLOutputElement : HTMLElement

Exposes the JavaScript HTMLOutputElement to Kotlin

HTMLParagraphElement

abstract external class HTMLParagraphElement : HTMLElement

Exposes the JavaScript HTMLParagraphElement to Kotlin

HTMLParamElement

abstract external class HTMLParamElement : HTMLElement

Exposes the JavaScript HTMLParamElement to Kotlin

HTMLPictureElement

abstract external class HTMLPictureElement : HTMLElement

Exposes the JavaScript HTMLPictureElement to Kotlin

HTMLPreElement

abstract external class HTMLPreElement : HTMLElement

Exposes the JavaScript HTMLPreElement to Kotlin

HTMLProgressElement

abstract external class HTMLProgressElement : HTMLElement

Exposes the JavaScript HTMLProgressElement to Kotlin

HTMLQuoteElement

abstract external class HTMLQuoteElement : HTMLElement

Exposes the JavaScript HTMLQuoteElement to Kotlin

HTMLScriptElement

abstract external class HTMLScriptElement : 
    HTMLElement,
    HTMLOrSVGScriptElement

Exposes the JavaScript HTMLScriptElement to Kotlin

HTMLSelectElement

abstract external class HTMLSelectElement : 
    HTMLElement,
    ItemArrayLike<Element>

Exposes the JavaScript HTMLSelectElement to Kotlin

HTMLSlotElement

abstract external class HTMLSlotElement : HTMLElement

Exposes the JavaScript HTMLSlotElement to Kotlin

HTMLSourceElement

abstract external class HTMLSourceElement : HTMLElement

Exposes the JavaScript HTMLSourceElement to Kotlin

HTMLSpanElement

abstract external class HTMLSpanElement : HTMLElement

Exposes the JavaScript HTMLSpanElement to Kotlin

HTMLStyleElement

abstract external class HTMLStyleElement : 
    HTMLElement,
    LinkStyle

Exposes the JavaScript HTMLStyleElement to Kotlin

HTMLTableCaptionElement

abstract external class HTMLTableCaptionElement : HTMLElement

Exposes the JavaScript HTMLTableCaptionElement to Kotlin

HTMLTableCellElement

abstract external class HTMLTableCellElement : HTMLElement

Exposes the JavaScript HTMLTableCellElement to Kotlin

HTMLTableColElement

abstract external class HTMLTableColElement : HTMLElement

Exposes the JavaScript HTMLTableColElement to Kotlin

HTMLTableElement

abstract external class HTMLTableElement : HTMLElement

Exposes the JavaScript HTMLTableElement to Kotlin

HTMLTableRowElement

abstract external class HTMLTableRowElement : HTMLElement

Exposes the JavaScript HTMLTableRowElement to Kotlin

HTMLTableSectionElement

abstract external class HTMLTableSectionElement : HTMLElement

Exposes the JavaScript HTMLTableSectionElement to Kotlin

HTMLTemplateElement

abstract external class HTMLTemplateElement : HTMLElement

Exposes the JavaScript HTMLTemplateElement to Kotlin

HTMLTextAreaElement

abstract external class HTMLTextAreaElement : HTMLElement

Exposes the JavaScript HTMLTextAreaElement to Kotlin

HTMLTimeElement

abstract external class HTMLTimeElement : HTMLElement

Exposes the JavaScript HTMLTimeElement to Kotlin

HTMLTitleElement

abstract external class HTMLTitleElement : HTMLElement

Exposes the JavaScript HTMLTitleElement to Kotlin

HTMLTrackElement

abstract external class HTMLTrackElement : HTMLElement

Exposes the JavaScript HTMLTrackElement to Kotlin

HTMLUListElement

abstract external class HTMLUListElement : HTMLElement

Exposes the JavaScript HTMLUListElement to Kotlin

HTMLUnknownElement

abstract external class HTMLUnknownElement : HTMLElement

Exposes the JavaScript HTMLUnknownElement to Kotlin

HTMLVideoElement

abstract external class HTMLVideoElement : 
    HTMLMediaElement,
    TexImageSource

Exposes the JavaScript HTMLVideoElement to Kotlin

HashChangeEvent

open external class HashChangeEvent : Event

Exposes the JavaScript HashChangeEvent to Kotlin

HashChangeEventInit

external interface HashChangeEventInit : EventInit

History

abstract external class History

Exposes the JavaScript History to Kotlin

HitRegionOptions

external interface HitRegionOptions

ImageBitmap

abstract external class ImageBitmap : TexImageSource

Exposes the JavaScript ImageBitmap to Kotlin

ImageBitmapOptions

external interface ImageBitmapOptions

ImageBitmapRenderingContext

abstract external class ImageBitmapRenderingContext

Exposes the JavaScript ImageBitmapRenderingContext to Kotlin

ImageBitmapRenderingContextSettings

external interface ImageBitmapRenderingContextSettings

ImageData

open external class ImageData : TexImageSource

Exposes the JavaScript ImageData to Kotlin

ImageOrientation

external interface ImageOrientation

ImageSmoothingQuality

external interface ImageSmoothingQuality

ItemArrayLike

external interface ItemArrayLike<out T>

Location

abstract external class Location

Exposes the JavaScript Location to Kotlin

MediaError

abstract external class MediaError

Exposes the JavaScript MediaError to Kotlin

MediaQueryList

abstract external class MediaQueryList : EventTarget

Exposes the JavaScript MediaQueryList to Kotlin

MediaQueryListEvent

open external class MediaQueryListEvent : Event

Exposes the JavaScript MediaQueryListEvent to Kotlin

MediaQueryListEventInit

external interface MediaQueryListEventInit : EventInit

MessageChannel

open external class MessageChannel

Exposes the JavaScript MessageChannel to Kotlin

MessageEvent

open external class MessageEvent : Event

Exposes the JavaScript MessageEvent to Kotlin

MessageEventInit

external interface MessageEventInit : EventInit

MessagePort

abstract external class MessagePort : 
    EventTarget,
    UnionMessagePortOrWindow,
    UnionMessagePortOrServiceWorker,
    UnionClientOrMessagePortOrServiceWorker

Exposes the JavaScript MessagePort to Kotlin

MimeType

abstract external class MimeType

Exposes the JavaScript MimeType to Kotlin

MimeTypeArray

abstract external class MimeTypeArray : 
    ItemArrayLike<MimeType>

Exposes the JavaScript MimeTypeArray to Kotlin

MutationObserver

open external class MutationObserver

Exposes the JavaScript MutationObserver to Kotlin

MutationObserverInit

external interface MutationObserverInit

MutationRecord

abstract external class MutationRecord

Exposes the JavaScript MutationRecord to Kotlin

NamedNodeMap

abstract external class NamedNodeMap : ItemArrayLike<Attr>

Exposes the JavaScript NamedNodeMap to Kotlin

Navigator

abstract external class Navigator : 
    NavigatorID,
    NavigatorLanguage,
    NavigatorOnLine,
    NavigatorContentUtils,
    NavigatorCookies,
    NavigatorPlugins,
    NavigatorConcurrentHardware

Exposes the JavaScript Navigator to Kotlin

NavigatorConcurrentHardware

external interface NavigatorConcurrentHardware

Exposes the JavaScript NavigatorConcurrentHardware to Kotlin

NavigatorContentUtils

external interface NavigatorContentUtils

NavigatorCookies

external interface NavigatorCookies

NavigatorID

external interface NavigatorID

Exposes the JavaScript NavigatorID to Kotlin

NavigatorLanguage

external interface NavigatorLanguage

Exposes the JavaScript NavigatorLanguage to Kotlin

NavigatorOnLine

external interface NavigatorOnLine

Exposes the JavaScript NavigatorOnLine to Kotlin

NavigatorPlugins

external interface NavigatorPlugins

Exposes the JavaScript NavigatorPlugins to Kotlin

Node

abstract external class Node : EventTarget

Exposes the JavaScript Node to Kotlin

NodeFilter

external interface NodeFilter

Exposes the JavaScript NodeFilter to Kotlin

NodeIterator

abstract external class NodeIterator

Exposes the JavaScript NodeIterator to Kotlin

NodeList

abstract external class NodeList : ItemArrayLike<Node>

Exposes the JavaScript NodeList to Kotlin

NonDocumentTypeChildNode

external interface NonDocumentTypeChildNode

Exposes the JavaScript NonDocumentTypeChildNode to Kotlin

NonElementParentNode

external interface NonElementParentNode

PageTransitionEvent

open external class PageTransitionEvent : Event

Exposes the JavaScript PageTransitionEvent to Kotlin

PageTransitionEventInit

external interface PageTransitionEventInit : EventInit

ParentNode

external interface ParentNode

Exposes the JavaScript ParentNode to Kotlin

Path2D

open external class Path2D : CanvasPath

Exposes the JavaScript Path2D to Kotlin

Plugin

abstract external class Plugin : ItemArrayLike<MimeType>

Exposes the JavaScript Plugin to Kotlin

PluginArray

abstract external class PluginArray : ItemArrayLike<Plugin>

Exposes the JavaScript PluginArray to Kotlin

PopStateEvent

open external class PopStateEvent : Event

Exposes the JavaScript PopStateEvent to Kotlin

PopStateEventInit

external interface PopStateEventInit : EventInit

PremultiplyAlpha

external interface PremultiplyAlpha

ProcessingInstruction

abstract external class ProcessingInstruction : 
    CharacterData,
    LinkStyle,
    UnionElementOrProcessingInstruction

Exposes the JavaScript ProcessingInstruction to Kotlin

PromiseRejectionEvent

open external class PromiseRejectionEvent : Event

Exposes the JavaScript PromiseRejectionEvent to Kotlin

PromiseRejectionEventInit

external interface PromiseRejectionEventInit : EventInit

RadioNodeList

abstract external class RadioNodeList : 
    NodeList,
    UnionElementOrRadioNodeList

Exposes the JavaScript RadioNodeList to Kotlin

Range

open external class Range

Exposes the JavaScript Range to Kotlin

RelatedEvent

open external class RelatedEvent : Event

RelatedEventInit

external interface RelatedEventInit : EventInit

RenderingContext

external interface RenderingContext

ResizeQuality

external interface ResizeQuality

Screen

abstract external class Screen

Exposes the JavaScript Screen to Kotlin

ScrollBehavior

external interface ScrollBehavior

ScrollIntoViewOptions

external interface ScrollIntoViewOptions : ScrollOptions

ScrollLogicalPosition

external interface ScrollLogicalPosition

ScrollOptions

external interface ScrollOptions

ScrollRestoration

external interface ScrollRestoration

ScrollToOptions

external interface ScrollToOptions : ScrollOptions

SelectionMode

external interface SelectionMode

ShadowRoot

open external class ShadowRoot : 
    DocumentFragment,
    DocumentOrShadowRoot

Exposes the JavaScript ShadowRoot to Kotlin

ShadowRootInit

external interface ShadowRootInit

ShadowRootMode

external interface ShadowRootMode

SharedWorker

open external class SharedWorker : 
    EventTarget,
    AbstractWorker

Exposes the JavaScript SharedWorker to Kotlin

SharedWorkerGlobalScope

abstract external class SharedWorkerGlobalScope : 
    WorkerGlobalScope

Exposes the JavaScript SharedWorkerGlobalScope to Kotlin

Slotable

external interface Slotable

Exposes the JavaScript Slotable to Kotlin

Storage

abstract external class Storage

Exposes the JavaScript Storage to Kotlin

StorageEvent

open external class StorageEvent : Event

Exposes the JavaScript StorageEvent to Kotlin

StorageEventInit

external interface StorageEventInit : EventInit

Text

open external class Text : 
    CharacterData,
    Slotable,
    GeometryUtils

Exposes the JavaScript Text to Kotlin

TextMetrics

abstract external class TextMetrics

Exposes the JavaScript TextMetrics to Kotlin

TextTrack

abstract external class TextTrack : 
    EventTarget,
    UnionAudioTrackOrTextTrackOrVideoTrack

Exposes the JavaScript TextTrack to Kotlin

TextTrackCue

abstract external class TextTrackCue : EventTarget

TextTrackCueList

abstract external class TextTrackCueList

TextTrackKind

external interface TextTrackKind

TextTrackList

abstract external class TextTrackList : EventTarget

TextTrackMode

external interface TextTrackMode

TimeRanges

abstract external class TimeRanges

Exposes the JavaScript TimeRanges to Kotlin

Touch

abstract external class Touch

Exposes the JavaScript Touch to Kotlin

TrackEvent

open external class TrackEvent : Event

TrackEventInit

external interface TrackEventInit : EventInit

TreeWalker

abstract external class TreeWalker

Exposes the JavaScript TreeWalker to Kotlin

UnionAudioTrackOrTextTrackOrVideoTrack

external interface UnionAudioTrackOrTextTrackOrVideoTrack

UnionElementOrHTMLCollection

external interface UnionElementOrHTMLCollection

UnionElementOrMouseEvent

external interface UnionElementOrMouseEvent

UnionElementOrProcessingInstruction

external interface UnionElementOrProcessingInstruction

UnionElementOrRadioNodeList

external interface UnionElementOrRadioNodeList

UnionHTMLOptGroupElementOrHTMLOptionElement

external interface UnionHTMLOptGroupElementOrHTMLOptionElement

UnionMessagePortOrServiceWorker

external interface UnionMessagePortOrServiceWorker

UnionMessagePortOrWindow

external interface UnionMessagePortOrWindow

ValidityState

abstract external class ValidityState

Exposes the JavaScript ValidityState to Kotlin

VideoTrack

abstract external class VideoTrack : 
    UnionAudioTrackOrTextTrackOrVideoTrack

VideoTrackList

abstract external class VideoTrackList : EventTarget

WebSocket

open external class WebSocket : EventTarget

Exposes the JavaScript WebSocket to Kotlin

Window

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

Exposes the JavaScript Window to Kotlin

WindowEventHandlers

external interface WindowEventHandlers

Exposes the JavaScript WindowEventHandlers to Kotlin

WindowLocalStorage

external interface WindowLocalStorage

Exposes the JavaScript WindowLocalStorage to Kotlin

WindowOrWorkerGlobalScope

external interface WindowOrWorkerGlobalScope

Exposes the JavaScript WindowOrWorkerGlobalScope to Kotlin

WindowSessionStorage

external interface WindowSessionStorage

Exposes the JavaScript WindowSessionStorage to Kotlin

Worker

open external class Worker : EventTarget, AbstractWorker

Exposes the JavaScript Worker to Kotlin

WorkerGlobalScope

abstract external class WorkerGlobalScope : 
    EventTarget,
    WindowOrWorkerGlobalScope,
    GlobalPerformance

Exposes the JavaScript WorkerGlobalScope to Kotlin

WorkerLocation

abstract external class WorkerLocation

Exposes the JavaScript WorkerLocation to Kotlin

WorkerNavigator

abstract external class WorkerNavigator : 
    NavigatorID,
    NavigatorLanguage,
    NavigatorOnLine,
    NavigatorConcurrentHardware

Exposes the JavaScript WorkerNavigator to Kotlin

WorkerOptions

external interface WorkerOptions

WorkerType

external interface WorkerType

XMLDocument

open external class XMLDocument : Document

Exposes the JavaScript XMLDocument to Kotlin

Functions

AddEventListenerOptions

fun AddEventListenerOptions(
    passive: Boolean? = false,
    once: Boolean? = false,
    capture: Boolean? = false
): AddEventListenerOptions

AssignedNodesOptions

fun AssignedNodesOptions(
    flatten: Boolean? = false
): AssignedNodesOptions

BoxQuadOptions

fun BoxQuadOptions(
    box: CSSBoxType? = CSSBoxType.BORDER,
    relativeTo: dynamic = null
): BoxQuadOptions

CanvasRenderingContext2DSettings

fun CanvasRenderingContext2DSettings(
    alpha: Boolean? = true
): CanvasRenderingContext2DSettings

CloseEventInit

fun CloseEventInit(
    wasClean: Boolean? = false,
    code: Short? = 0,
    reason: String? = "",
    bubbles: Boolean? = false,
    cancelable: Boolean? = false,
    composed: Boolean? = false
): CloseEventInit

ConvertCoordinateOptions

fun ConvertCoordinateOptions(
    fromBox: CSSBoxType? = CSSBoxType.BORDER,
    toBox: CSSBoxType? = CSSBoxType.BORDER
): ConvertCoordinateOptions

CustomEventInit

fun CustomEventInit(
    detail: Any? = null,
    bubbles: Boolean? = false,
    cancelable: Boolean? = false,
    composed: Boolean? = false
): CustomEventInit

DOMPointInit

fun DOMPointInit(
    x: Double? = 0.0,
    y: Double? = 0.0,
    z: Double? = 0.0,
    w: Double? = 1.0
): DOMPointInit

DOMRectInit

fun DOMRectInit(
    x: Double? = 0.0,
    y: Double? = 0.0,
    width: Double? = 0.0,
    height: Double? = 0.0
): DOMRectInit

DragEventInit

fun DragEventInit(
    dataTransfer: DataTransfer? = null,
    screenX: Int? = 0,
    screenY: Int? = 0,
    clientX: Int? = 0,
    clientY: Int? = 0,
    button: Short? = 0,
    buttons: Short? = 0,
    relatedTarget: EventTarget? = null,
    ctrlKey: Boolean? = false,
    shiftKey: Boolean? = false,
    altKey: Boolean? = false,
    metaKey: Boolean? = false,
    modifierAltGraph: Boolean? = false,
    modifierCapsLock: Boolean? = false,
    modifierFn: Boolean? = false,
    modifierFnLock: Boolean? = false,
    modifierHyper: Boolean? = false,
    modifierNumLock: Boolean? = false,
    modifierScrollLock: Boolean? = false,
    modifierSuper: Boolean? = false,
    modifierSymbol: Boolean? = false,
    modifierSymbolLock: Boolean? = false,
    view: Window? = null,
    detail: Int? = 0,
    bubbles: Boolean? = false,
    cancelable: Boolean? = false,
    composed: Boolean? = false
): DragEventInit

ElementCreationOptions

fun ElementCreationOptions(
    is_: String? = null
): ElementCreationOptions

ElementDefinitionOptions

fun ElementDefinitionOptions(
    extends: String? = null
): ElementDefinitionOptions

ErrorEventInit

fun ErrorEventInit(
    message: String? = "",
    filename: String? = "",
    lineno: Int? = 0,
    colno: Int? = 0,
    error: Any? = null,
    bubbles: Boolean? = false,
    cancelable: Boolean? = false,
    composed: Boolean? = false
): ErrorEventInit

EventInit

fun EventInit(
    bubbles: Boolean? = false,
    cancelable: Boolean? = false,
    composed: Boolean? = false
): EventInit

EventListenerOptions

fun EventListenerOptions(
    capture: Boolean? = false
): EventListenerOptions

EventSourceInit

fun EventSourceInit(
    withCredentials: Boolean? = false
): EventSourceInit

GetRootNodeOptions

fun GetRootNodeOptions(
    composed: Boolean? = false
): GetRootNodeOptions

HashChangeEventInit

fun HashChangeEventInit(
    oldURL: String? = "",
    newURL: String? = "",
    bubbles: Boolean? = false,
    cancelable: Boolean? = false,
    composed: Boolean? = false
): HashChangeEventInit

HitRegionOptions

fun HitRegionOptions(
    path: Path2D? = null,
    fillRule: CanvasFillRule? = CanvasFillRule.NONZERO,
    id: String? = "",
    parentID: String? = null,
    cursor: String? = "inherit",
    control: Element? = null,
    label: String? = null,
    role: String? = null
): HitRegionOptions

ImageBitmapOptions

fun ImageBitmapOptions(
    imageOrientation: ImageOrientation? = ImageOrientation.NONE,
    premultiplyAlpha: PremultiplyAlpha? = PremultiplyAlpha.DEFAULT,
    colorSpaceConversion: ColorSpaceConversion? = ColorSpaceConversion.DEFAULT,
    resizeWidth: Int? = null,
    resizeHeight: Int? = null,
    resizeQuality: ResizeQuality? = ResizeQuality.LOW
): ImageBitmapOptions

ImageBitmapRenderingContextSettings

fun ImageBitmapRenderingContextSettings(
    alpha: Boolean? = true
): ImageBitmapRenderingContextSettings

MediaQueryListEventInit

fun MediaQueryListEventInit(
    media: String? = "",
    matches: Boolean? = false,
    bubbles: Boolean? = false,
    cancelable: Boolean? = false,
    composed: Boolean? = false
): MediaQueryListEventInit

MessageEventInit

fun MessageEventInit(
    data: Any? = null,
    origin: String? = "",
    lastEventId: String? = "",
    source: UnionMessagePortOrWindow? = null,
    ports: Array<MessagePort>? = arrayOf(),
    bubbles: Boolean? = false,
    cancelable: Boolean? = false,
    composed: Boolean? = false
): MessageEventInit

MutationObserverInit

fun MutationObserverInit(
    childList: Boolean? = false,
    attributes: Boolean? = null,
    characterData: Boolean? = null,
    subtree: Boolean? = false,
    attributeOldValue: Boolean? = null,
    characterDataOldValue: Boolean? = null,
    attributeFilter: Array<String>? = null
): MutationObserverInit

PageTransitionEventInit

fun PageTransitionEventInit(
    persisted: Boolean? = false,
    bubbles: Boolean? = false,
    cancelable: Boolean? = false,
    composed: Boolean? = false
): PageTransitionEventInit

PopStateEventInit

fun PopStateEventInit(
    state: Any? = null,
    bubbles: Boolean? = false,
    cancelable: Boolean? = false,
    composed: Boolean? = false
): PopStateEventInit

PromiseRejectionEventInit

fun PromiseRejectionEventInit(
    promise: Promise<Any?>?,
    reason: Any? = null,
    bubbles: Boolean? = false,
    cancelable: Boolean? = false,
    composed: Boolean? = false
): PromiseRejectionEventInit

RelatedEventInit

fun RelatedEventInit(
    relatedTarget: EventTarget? = null,
    bubbles: Boolean? = false,
    cancelable: Boolean? = false,
    composed: Boolean? = false
): RelatedEventInit

ScrollIntoViewOptions

fun ScrollIntoViewOptions(
    block: ScrollLogicalPosition? = ScrollLogicalPosition.CENTER,
    inline: ScrollLogicalPosition? = ScrollLogicalPosition.CENTER,
    behavior: ScrollBehavior? = ScrollBehavior.AUTO
): ScrollIntoViewOptions

ScrollOptions

fun ScrollOptions(
    behavior: ScrollBehavior? = ScrollBehavior.AUTO
): ScrollOptions

ScrollToOptions

fun ScrollToOptions(
    left: Double? = null,
    top: Double? = null,
    behavior: ScrollBehavior? = ScrollBehavior.AUTO
): ScrollToOptions

ShadowRootInit

fun ShadowRootInit(mode: ShadowRootMode?): ShadowRootInit

StorageEventInit

fun StorageEventInit(
    key: String? = null,
    oldValue: String? = null,
    newValue: String? = null,
    url: String? = "",
    storageArea: Storage? = null,
    bubbles: Boolean? = false,
    cancelable: Boolean? = false,
    composed: Boolean? = false
): StorageEventInit

TrackEventInit

fun TrackEventInit(
    track: UnionAudioTrackOrTextTrackOrVideoTrack? = null,
    bubbles: Boolean? = false,
    cancelable: Boolean? = false,
    composed: Boolean? = false
): TrackEventInit

WorkerOptions

fun WorkerOptions(
    type: WorkerType? = WorkerType.CLASSIC,
    credentials: RequestCredentials? = RequestCredentials.OMIT
): WorkerOptions

asList

fun <T> ItemArrayLike<T>.asList(): List<T>

Returns the view of this ItemArrayLike<T> collection as List<T>

get

operator fun Document.get(name: String): dynamic
operator fun Window.get(name: String): dynamic
operator fun DOMStringMap.get(name: String): String?
operator fun AudioTrackList.get(index: Int): AudioTrack?
operator fun VideoTrackList.get(index: Int): VideoTrack?
operator fun TextTrackList.get(index: Int): TextTrack?
operator fun TextTrackCueList.get(index: Int): TextTrackCue?
operator fun HTMLFormElement.get(index: Int): Element?
operator fun HTMLFormElement.get(
    name: String
): UnionElementOrRadioNodeList?
operator fun HTMLSelectElement.get(index: Int): Element?
operator fun DataTransferItemList.get(
    index: Int
): DataTransferItem?
operator fun PluginArray.get(index: Int): Plugin?
operator fun PluginArray.get(name: String): Plugin?
operator fun MimeTypeArray.get(index: Int): MimeType?
operator fun MimeTypeArray.get(name: String): MimeType?
operator fun Plugin.get(index: Int): MimeType?
operator fun Plugin.get(name: String): MimeType?
operator fun Storage.get(key: String): String?
operator fun NodeList.get(index: Int): Node?
operator fun HTMLCollection.get(index: Int): Element?
operator fun HTMLCollection.get(name: String): Element?
operator fun NamedNodeMap.get(index: Int): Attr?
operator fun NamedNodeMap.get(qualifiedName: String): Attr?
operator fun DOMTokenList.get(index: Int): String?
operator fun DOMRectList.get(index: Int): DOMRect?

set

operator fun HTMLOptionsCollection.set(
    index: Int,
    option: HTMLOptionElement?)
operator fun DOMStringMap.set(name: String, value: String)
operator fun HTMLSelectElement.set(
    index: Int,
    option: HTMLOptionElement?)
operator fun Storage.set(key: String, value: String)

Companion Object Properties

ALPHABETIC

val CanvasTextBaseline.Companion.ALPHABETIC: CanvasTextBaseline

ARRAYBUFFER

val BinaryType.Companion.ARRAYBUFFER: BinaryType

AUTO

val ScrollRestoration.Companion.AUTO: ScrollRestoration
val ScrollBehavior.Companion.AUTO: ScrollBehavior

BEVEL

val CanvasLineJoin.Companion.BEVEL: CanvasLineJoin

BLOB

val BinaryType.Companion.BLOB: BinaryType

BORDER

val CSSBoxType.Companion.BORDER: CSSBoxType

BOTTOM

val CanvasTextBaseline.Companion.BOTTOM: CanvasTextBaseline

BUTT

val CanvasLineCap.Companion.BUTT: CanvasLineCap

CAPTIONS

val TextTrackKind.Companion.CAPTIONS: TextTrackKind

CENTER

val CanvasTextAlign.Companion.CENTER: CanvasTextAlign
val ScrollLogicalPosition.Companion.CENTER: ScrollLogicalPosition

CHAPTERS

val TextTrackKind.Companion.CHAPTERS: TextTrackKind

CLASSIC

val WorkerType.Companion.CLASSIC: WorkerType

CLOSED

val ShadowRootMode.Companion.CLOSED: ShadowRootMode

COMPLETE

val DocumentReadyState.Companion.COMPLETE: DocumentReadyState

CONTENT

val CSSBoxType.Companion.CONTENT: CSSBoxType

DEFAULT

val PremultiplyAlpha.Companion.DEFAULT: PremultiplyAlpha
val ColorSpaceConversion.Companion.DEFAULT: ColorSpaceConversion

DESCRIPTIONS

val TextTrackKind.Companion.DESCRIPTIONS: TextTrackKind

DISABLED

val TextTrackMode.Companion.DISABLED: TextTrackMode

EMPTY

val CanPlayTypeResult.Companion.EMPTY: CanPlayTypeResult

END

val SelectionMode.Companion.END: SelectionMode
val CanvasTextAlign.Companion.END: CanvasTextAlign
val ScrollLogicalPosition.Companion.END: ScrollLogicalPosition

EVENODD

val CanvasFillRule.Companion.EVENODD: CanvasFillRule

FLIPY

val ImageOrientation.Companion.FLIPY: ImageOrientation

HANGING

val CanvasTextBaseline.Companion.HANGING: CanvasTextBaseline

HIDDEN

val TextTrackMode.Companion.HIDDEN: TextTrackMode

HIGH

val ImageSmoothingQuality.Companion.HIGH: ImageSmoothingQuality
val ResizeQuality.Companion.HIGH: ResizeQuality

IDEOGRAPHIC

val CanvasTextBaseline.Companion.IDEOGRAPHIC: CanvasTextBaseline

INHERIT

val CanvasDirection.Companion.INHERIT: CanvasDirection

INSTANT

val ScrollBehavior.Companion.INSTANT: ScrollBehavior

INTERACTIVE

val DocumentReadyState.Companion.INTERACTIVE: DocumentReadyState

LEFT

val CanvasTextAlign.Companion.LEFT: CanvasTextAlign

LOADING

val DocumentReadyState.Companion.LOADING: DocumentReadyState

LOW

val ImageSmoothingQuality.Companion.LOW: ImageSmoothingQuality
val ResizeQuality.Companion.LOW: ResizeQuality

LTR

val CanvasDirection.Companion.LTR: CanvasDirection

MANUAL

val ScrollRestoration.Companion.MANUAL: ScrollRestoration

MARGIN

val CSSBoxType.Companion.MARGIN: CSSBoxType

MAYBE

val CanPlayTypeResult.Companion.MAYBE: CanPlayTypeResult

MEDIUM

val ImageSmoothingQuality.Companion.MEDIUM: ImageSmoothingQuality
val ResizeQuality.Companion.MEDIUM: ResizeQuality

METADATA

val TextTrackKind.Companion.METADATA: TextTrackKind

MIDDLE

val CanvasTextBaseline.Companion.MIDDLE: CanvasTextBaseline

MITER

val CanvasLineJoin.Companion.MITER: CanvasLineJoin

MODULE

val WorkerType.Companion.MODULE: WorkerType

NEAREST

val ScrollLogicalPosition.Companion.NEAREST: ScrollLogicalPosition

NONE

val ImageOrientation.Companion.NONE: ImageOrientation
val PremultiplyAlpha.Companion.NONE: PremultiplyAlpha
val ColorSpaceConversion.Companion.NONE: ColorSpaceConversion

NONZERO

val CanvasFillRule.Companion.NONZERO: CanvasFillRule

OPEN

val ShadowRootMode.Companion.OPEN: ShadowRootMode

PADDING

val CSSBoxType.Companion.PADDING: CSSBoxType

PIXELATED

val ResizeQuality.Companion.PIXELATED: ResizeQuality

PREMULTIPLY

val PremultiplyAlpha.Companion.PREMULTIPLY: PremultiplyAlpha

PRESERVE

val SelectionMode.Companion.PRESERVE: SelectionMode

PROBABLY

val CanPlayTypeResult.Companion.PROBABLY: CanPlayTypeResult

RIGHT

val CanvasTextAlign.Companion.RIGHT: CanvasTextAlign

ROUND

val CanvasLineCap.Companion.ROUND: CanvasLineCap
val CanvasLineJoin.Companion.ROUND: CanvasLineJoin

RTL

val CanvasDirection.Companion.RTL: CanvasDirection

SELECT

val SelectionMode.Companion.SELECT: SelectionMode

SHOWING

val TextTrackMode.Companion.SHOWING: TextTrackMode

SMOOTH

val ScrollBehavior.Companion.SMOOTH: ScrollBehavior

SQUARE

val CanvasLineCap.Companion.SQUARE: CanvasLineCap

START

val SelectionMode.Companion.START: SelectionMode
val CanvasTextAlign.Companion.START: CanvasTextAlign
val ScrollLogicalPosition.Companion.START: ScrollLogicalPosition

SUBTITLES

val TextTrackKind.Companion.SUBTITLES: TextTrackKind

TOP

val CanvasTextBaseline.Companion.TOP: CanvasTextBaseline