IEventDispatcher

The IEventDispatcher interface is in implementation which supports the DOM Event Model.

Inheritors

Functions

Link copied to clipboard
open fun addEventListener(type: String, listener: IEventListener)

abstract fun addEventListener(type: String, listener: IEventListener, useCapture: Boolean)

Registers the event listeners on the event target.

Link copied to clipboard
abstract fun dispatchEvent(event: Event)

Dispatches the events into the implementations event model.

Link copied to clipboard
open fun dispatchEventWith(type: String)

Dispatches the events into the implementations event model.

open fun dispatchEventWith(type: String, bubbles: Boolean)
abstract fun dispatchEventWith(type: String, bubbles: Boolean, data: Any?)
Link copied to clipboard
open fun removeEventListener(type: String, listener: IEventListener)

abstract fun removeEventListener(type: String, listener: IEventListener, useCapture: Boolean)

Unregister the event listeners on the event target.