EventTarget
Constructors
<init>
Exposes the JavaScript EventTarget to Kotlin
EventTarget()
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
ApplicationCache
abstract class ApplicationCache : EventTarget
AudioTrackList
Exposes the JavaScript AudioTrackList to Kotlin
abstract class AudioTrackList : EventTarget
BroadcastChannel
Exposes the JavaScript BroadcastChannel to Kotlin
open class BroadcastChannel : EventTarget
Clipboard
Exposes the JavaScript Clipboard to Kotlin
abstract class Clipboard : EventTarget
EventSource
Exposes the JavaScript EventSource to Kotlin
open class EventSource : EventTarget
FileReader
Exposes the JavaScript FileReader to Kotlin
open class FileReader : EventTarget
MediaDevices
Exposes the JavaScript MediaDevices to Kotlin
abstract class MediaDevices : EventTarget
MediaQueryList
Exposes the JavaScript MediaQueryList to Kotlin
abstract class MediaQueryList : EventTarget
MediaStream
Exposes the JavaScript MediaStream to Kotlin
open class MediaStream : EventTarget
MediaStreamTrack
Exposes the JavaScript MediaStreamTrack to Kotlin
abstract class MediaStreamTrack : EventTarget
MessagePort
Exposes the JavaScript MessagePort to Kotlin
abstract class MessagePort :
EventTarget,
UnionMessagePortOrWindowProxy,
UnionMessagePortOrServiceWorker,
UnionClientOrMessagePortOrServiceWorker
Node
Exposes the JavaScript Node to Kotlin
abstract class Node : EventTarget
Notification
Exposes the JavaScript Notification to Kotlin
open class Notification : EventTarget
Performance
Exposes the JavaScript Performance to Kotlin
abstract class Performance : EventTarget
ServiceWorker
Exposes the JavaScript ServiceWorker to Kotlin
abstract class ServiceWorker :
EventTarget,
AbstractWorker,
UnionMessagePortOrServiceWorker,
UnionClientOrMessagePortOrServiceWorker
ServiceWorkerContainer
Exposes the JavaScript ServiceWorkerContainer to Kotlin
abstract class ServiceWorkerContainer : EventTarget
ServiceWorkerRegistration
Exposes the JavaScript ServiceWorkerRegistration to Kotlin
abstract class ServiceWorkerRegistration : EventTarget
SharedWorker
Exposes the JavaScript SharedWorker to Kotlin
open class SharedWorker : EventTarget, AbstractWorker
TextTrack
Exposes the JavaScript TextTrack to Kotlin
abstract class TextTrack :
EventTarget,
UnionAudioTrackOrTextTrackOrVideoTrack
TextTrackCue
Exposes the JavaScript TextTrackCue to Kotlin
abstract class TextTrackCue : EventTarget
TextTrackList
abstract class TextTrackList : EventTarget
VideoTrackList
Exposes the JavaScript VideoTrackList to Kotlin
abstract class VideoTrackList : EventTarget
WebSocket
Exposes the JavaScript WebSocket to Kotlin
open class WebSocket : EventTarget
Worker
Exposes the JavaScript Worker to Kotlin
open class Worker : EventTarget, AbstractWorker
WorkerGlobalScope
Exposes the JavaScript WorkerGlobalScope to Kotlin
abstract class WorkerGlobalScope :
EventTarget,
WindowOrWorkerGlobalScope,
GlobalPerformance
XMLHttpRequestEventTarget
Exposes the JavaScript XMLHttpRequestEventTarget to Kotlin
abstract class XMLHttpRequestEventTarget : EventTarget