EventTarget

external interface EventTarget

Functions

Link copied to clipboard
abstract fun addEventListener(type: String, listener: EventListener)
abstract fun addEventListener(type: String, listener: EventListenerObject)
abstract fun addEventListener(type: String, listener: EventListener, options: AddEventListenerOptions? = definedExternally)
abstract fun addEventListener(type: String, listener: EventListener, options: Boolean? = definedExternally)
abstract fun addEventListener(type: String, listener: EventListenerObject, options: AddEventListenerOptions? = definedExternally)
abstract fun addEventListener(type: String, listener: EventListenerObject, options: Boolean? = definedExternally)
Link copied to clipboard
abstract fun dispatchEvent(event: Event): Boolean
Link copied to clipboard
abstract fun removeEventListener(type: String, callback: EventListener)
abstract fun removeEventListener(type: String, callback: EventListenerObject)
abstract fun removeEventListener(type: String, callback: EventListener, options: EventListenerOptions? = definedExternally)
abstract fun removeEventListener(type: String, callback: EventListener, options: Boolean? = definedExternally)
abstract fun removeEventListener(type: String, callback: EventListenerObject, options: EventListenerOptions? = definedExternally)
abstract fun removeEventListener(type: String, callback: EventListenerObject, options: Boolean? = definedExternally)

Inheritors

Link copied to clipboard