Event<TType extends string = string>
The event class
Extended by
GeolocateEventGeolocatePositionEventGeolocateErrorEventFullscreenEventPopupEventMarkerDragEventMarkerClickEventMapLibreEventErrorEvent
Type Parameters
| Type Parameter | Default type |
|---|---|
TType extends string
| string |
Properties
target?
optionaltarget?: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.
© MapLibre contributors
Licensed under the 3-Clause BSD License.
https://maplibre.org/maplibre-gl-js/docs/API/classes/Event/