EventTarget

JS
1.1
abstract class EventTarget

Exposes the JavaScript EventTarget to Kotlin

Constructors

JS
1.1

<init>

Exposes the JavaScript EventTarget to Kotlin

EventTarget()

Functions

JS
1.1

addEventListener

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

dispatchEvent

fun dispatchEvent(event: Event): Boolean
JS
1.1

removeEventListener

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

Inheritors

JS
1.1

ApplicationCache

abstract class ApplicationCache : EventTarget
JS
1.1

AudioTrackList

Exposes the JavaScript AudioTrackList to Kotlin

abstract class AudioTrackList : EventTarget
JS
1.1

BroadcastChannel

Exposes the JavaScript BroadcastChannel to Kotlin

open class BroadcastChannel : EventTarget
JS
1.1

Clipboard

Exposes the JavaScript Clipboard to Kotlin

abstract class Clipboard : EventTarget
JS
1.1

EventSource

Exposes the JavaScript EventSource to Kotlin

open class EventSource : EventTarget
JS
1.1

FileReader

Exposes the JavaScript FileReader to Kotlin

open class FileReader : EventTarget
JS
1.1

MediaDevices

Exposes the JavaScript MediaDevices to Kotlin

abstract class MediaDevices : EventTarget
JS
1.1

MediaQueryList

Exposes the JavaScript MediaQueryList to Kotlin

abstract class MediaQueryList : EventTarget
JS
1.1

MediaStream

Exposes the JavaScript MediaStream to Kotlin

open class MediaStream : EventTarget
JS
1.1

MediaStreamTrack

Exposes the JavaScript MediaStreamTrack to Kotlin

abstract class MediaStreamTrack : EventTarget
JS
1.1

MessagePort

Exposes the JavaScript MessagePort to Kotlin

JS
1.1

Node

Exposes the JavaScript Node to Kotlin

abstract class Node : EventTarget
JS
1.1

Notification

Exposes the JavaScript Notification to Kotlin

open class Notification : EventTarget
JS
1.1

Performance

Exposes the JavaScript Performance to Kotlin

abstract class Performance : EventTarget
JS
1.1

ServiceWorker

Exposes the JavaScript ServiceWorker to Kotlin

abstract class ServiceWorker : 
    EventTarget,
    AbstractWorker,
    UnionMessagePortOrServiceWorker,
    UnionClientOrMessagePortOrServiceWorker
JS
1.1

ServiceWorkerContainer

Exposes the JavaScript ServiceWorkerContainer to Kotlin

abstract class ServiceWorkerContainer : EventTarget
JS
1.1

ServiceWorkerRegistration

Exposes the JavaScript ServiceWorkerRegistration to Kotlin

abstract class ServiceWorkerRegistration : EventTarget
JS
1.1

SharedWorker

Exposes the JavaScript SharedWorker to Kotlin

open class SharedWorker : EventTarget, AbstractWorker
JS
1.1

TextTrack

Exposes the JavaScript TextTrack to Kotlin

abstract class TextTrack : 
    EventTarget,
    UnionAudioTrackOrTextTrackOrVideoTrack
JS
1.1

TextTrackCue

Exposes the JavaScript TextTrackCue to Kotlin

abstract class TextTrackCue : EventTarget
JS
1.1

TextTrackList

abstract class TextTrackList : EventTarget
JS
1.1

VideoTrackList

Exposes the JavaScript VideoTrackList to Kotlin

abstract class VideoTrackList : EventTarget
JS
1.1

WebSocket

Exposes the JavaScript WebSocket to Kotlin

open class WebSocket : EventTarget
JS
1.1

Window

Exposes the JavaScript Window to Kotlin

JS
1.1

Worker

Exposes the JavaScript Worker to Kotlin

open class Worker : EventTarget, AbstractWorker
JS
1.1

WorkerGlobalScope

Exposes the JavaScript WorkerGlobalScope to Kotlin

abstract class WorkerGlobalScope : 
    EventTarget,
    WindowOrWorkerGlobalScope,
    GlobalPerformance
JS
1.1

XMLHttpRequestEventTarget

Exposes the JavaScript XMLHttpRequestEventTarget to Kotlin

abstract class XMLHttpRequestEventTarget : EventTarget