For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.

Class Event<TType>

The event class

Type Parameters

  • TType extends string = string

Hierarchy (View Summary)

Index

Constructors

Properties

Constructors

  • Type Parameters

    • TType extends string = string

    Parameters

    • type: TType
    • Optionaldata: object

    Returns Event<TType>

Properties

target?: unknown

The object that fired the event. Set when the event is fired, and narrowed to a more specific type (e.g. Map, Marker) by the event subclasses.

type: TType
Was this helpful?