XMLHttpRequestEventTarget

abstract external class XMLHttpRequestEventTarget : 
    EventTarget
(source)

Platform and version requirements: JS

Exposes the JavaScript XMLHttpRequestEventTarget to Kotlin

Constructors

<init>

XMLHttpRequestEventTarget()

Exposes the JavaScript XMLHttpRequestEventTarget to Kotlin

Properties

onabort

open var onabort: (Event) -> dynamic

onerror

open var onerror: (Event) -> dynamic

onload

open var onload: (Event) -> dynamic

onloadend

open var onloadend: (Event) -> dynamic

onloadstart

open var onloadstart: (Event) -> dynamic

onprogress

open var onprogress: (Event) -> dynamic

ontimeout

open var ontimeout: (Event) -> dynamic

Inherited Functions

addEventListener

fun addEventListener(
    type: String,
    callback: EventListener?,
    options: dynamic = definedExternally)
fun addEventListener(
    type: String,
    callback: (Event) -> Unit,
    options: dynamic = definedExternally)

dispatchEvent

fun dispatchEvent(event: Event): Boolean

removeEventListener

fun removeEventListener(
    type: String,
    callback: EventListener?,
    options: dynamic = definedExternally)
fun removeEventListener(
    type: String,
    callback: (Event) -> Unit,
    options: dynamic = definedExternally)

Inheritors

XMLHttpRequest

open external class XMLHttpRequest : 
    XMLHttpRequestEventTarget

Exposes the JavaScript XMLHttpRequest to Kotlin

XMLHttpRequestUpload

abstract external class XMLHttpRequestUpload : 
    XMLHttpRequestEventTarget