GeoLeaf Core API - v3.0.0
    Preparing search index...
    • Dispatches geoleaf:toolbar:action for a plugin-registered toolbar action.

      When the action belongs to a lazy plugin, the bundle is loaded first and the event is emitted afterwards, so the plugin's listener is registered by the time it fires. Load failures are logged, not thrown.

      Fire-and-forget: returns immediately in the lazy case. Callers that guard on action must keep their own control flow (early return) around the call — this function reports nothing about which path it took.

      Parameters

      • action: string

        The action id carried by data-gl-toolbar-action.

      • element: HTMLElement

        The button that triggered the action, forwarded in detail.

      Returns void