Package-level declarations

Kotlin JavaScript wrappers for the XMLHttpRequest API.

Kotlin JavaScript wrappers for the XMLHttpRequest API.

Types

Link copied to clipboard
open external class FormData(form: HTMLFormElement = definedExternally)

Exposes the JavaScript FormData to Kotlin

Since Kotlin 1.1
open external class FormData(form: HTMLFormElement = definedExternally) : JsAny

Exposes the JavaScript FormData to Kotlin

Since Kotlin 1.8
Link copied to clipboard
open external class ProgressEvent(type: String, eventInitDict: ProgressEventInit = definedExternally) : Event

Exposes the JavaScript ProgressEvent to Kotlin

Since Kotlin 1.1
open external class ProgressEvent(type: String, eventInitDict: ProgressEventInit = definedExternally) : Event, JsAny

Exposes the JavaScript ProgressEvent to Kotlin

Since Kotlin 1.8
Link copied to clipboard
external interface ProgressEventInit : EventInit
Since Kotlin 1.1
external interface ProgressEventInit : EventInit, JsAny
Since Kotlin 1.8
Link copied to clipboard

Exposes the JavaScript XMLHttpRequest to Kotlin

Since Kotlin 1.1

Exposes the JavaScript XMLHttpRequest to Kotlin

Since Kotlin 1.8
Link copied to clipboard
abstract external class XMLHttpRequestEventTarget : EventTarget

Exposes the JavaScript XMLHttpRequestEventTarget to Kotlin

Since Kotlin 1.1
abstract external class XMLHttpRequestEventTarget : EventTarget, JsAny

Exposes the JavaScript XMLHttpRequestEventTarget to Kotlin

Since Kotlin 1.8
Link copied to clipboard
external interface XMLHttpRequestResponseType
Since Kotlin 1.1
external interface XMLHttpRequestResponseType : JsAny
Since Kotlin 1.8
Link copied to clipboard
Since Kotlin 1.1
Since Kotlin 1.8

Properties

Functions

Link copied to clipboard
inline fun ProgressEventInit(lengthComputable: Boolean? = false, loaded: Number? = 0, total: Number? = 0, bubbles: Boolean? = false, cancelable: Boolean? = false, composed: Boolean? = false): ProgressEventInit
Since Kotlin 1.1
fun ProgressEventInit(lengthComputable: Boolean? = false, loaded: JsNumber? = 0.toJsNumber(), total: JsNumber? = 0.toJsNumber(), bubbles: Boolean? = false, cancelable: Boolean? = false, composed: Boolean? = false): ProgressEventInit
Since Kotlin 1.8