GeoLeaf Core API - v3.0.0
    Preparing search index...

    Options of the action widget.

    Every key here is derived from what renderActionButton actually reads — not from the published prose, which is what E1b.3 nearly got wrong when it was about to declare a dialect nothing dispatches on.

    interface ActionOptions {
        actionId: string;
        requiresPlugin?: string;
        confirm?: string;
        confirmKey?: string;
        payloadFields?: readonly string[];
    }
    Index

    Properties

    actionId: string

    Identifier carried in the emitted event. Opaque to the core — it is never interpreted, only forwarded.

    Required: an action field without it renders nothing at all.

    requiresPlugin?: string

    The button is NOT rendered when the named plugin is absent.

    confirm?: string

    Literal confirmation text shown before the event is emitted.

    confirmKey?: string

    i18n key of the confirmation text. Takes precedence over confirm.

    payloadFields?: readonly string[]

    Whitelist of feature properties joined to the emitted event.

    ⚠️ Without it, NO property is joined. The default goes to confidentiality, not convenience: geoleaf:popup:action is a document event that any script on the page can listen to, so a "send everything" default would leak the whole property bag.