GeoLeaf Core API - v3.0.0
    Preparing search index...
    • Attaches a native DOM event handler on an element. Registers the cleanup in _state._eventCleanups.

      Uses a non-capturing stopPropagation wrapper so that clicks on theme-selector buttons do not propagate to the map canvas, while still allowing the handler itself to execute normally.

      Parameters

      • el: HTMLElement

        Target DOM element

      • eventType: string

        Event type ("click", "change", etc.)

      • handler: (ev: Event) => void

        Handler

      • _tag: string

        Debug tag (kept for call-site compat, unused)

      Returns void