Package-level declarations

Types

Link copied to clipboard
open class CustomEvent<out D : JsAny?>(val type: EventType<CustomEvent<D>>, init: CustomEventInit<D> = definedExternally) : Event

The CustomEvent interface can be used to attach custom data to an event generated by an application.

Link copied to clipboard
Link copied to clipboard
open class Event(val type: EventType<Event>, init: EventInit = definedExternally)

The Event interface represents an event which takes place on an EventTarget.

Link copied to clipboard
sealed interface EventHandler<in E : Event, out C : EventTarget, out T : EventTarget>
Link copied to clipboard
Link copied to clipboard
class EventInstance<out E : Event, out C : EventTarget, out T : EventTarget>(target: EventTargetLike, type: EventType<E>)
Link copied to clipboard
Link copied to clipboard
sealed interface EventPhase
Link copied to clipboard

The EventTarget interface is implemented by objects that can receive events and may have listeners for them.

Link copied to clipboard
Link copied to clipboard
sealed interface EventType<out E : Event>
Link copied to clipboard
interface HasTargets<out C : EventTarget, out T : EventTarget>
Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.PROPERTY])
annotation class JsEvent(val type: String)
Link copied to clipboard
open class ProgressEvent(val type: EventType<ProgressEvent>, init: ProgressEventInit = definedExternally) : Event

The ProgressEvent interface represents events that measure the progress of an underlying process, like an HTTP request (e.g., an XMLHttpRequest, or the loading of the underlying resource of an ,