@bodil/core - v0.4.5
    Preparing search index...

    Namespace event

    Utility types for DOM events.

    Interfaces

    DeclareEvents

    An interface a type can extend to associate a map of event names to event types with itself, in the style of HTMLElementEventMap et al. This allows the type system to discover the events available for a specific EventTarget descendant.

    Type Aliases

    EventMapFor

    Get the Events type associated with a type that extends DeclareEvents<Events>.

    ExtractEventMap

    Get the Events type associated with a type that extends DeclareEvents<Events>.