GeoLeaf Core API - v3.19.0
    Preparing search index...
    • Dresses an action button with the visual weight its field declares.

      A known variant sets the gl-poi-popup__action--<variant> modifier — what the stylesheet hooks — and data-gl-variant, what a host can select without depending on a class name. No variant leaves the button untouched: the base class alone already is the filled look primary spells out. An unknown value leaves it untouched too, and warns once — a modifier no stylesheet matches would be exactly the silence this closes.

      Parameters

      • btn: HTMLElement

        The action button, already carrying its base class.

      • variant: unknown

        The field's declared variant, as authored.

      • actionId: string

        The action's identifier, named in the warning.

      • OptionallayerId: string

        The layer that declared it, when known.

      Returns void