handleEvent

abstract fun handleEvent(vararg event: Any?)

Handle an event's occurrence and dispatch against a given EventTarget.

Events originate from at least one EventTarget, and are typically spawned from within an EventEmitter, although that is not a requirement.

Parameters

event

The event to handle.