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

    Interface AttributeDisplayPresentation

    Presentation modifiers that belong to the SURFACE, not to the value.

    ⚠️ Deliberately not per-widget options. accordion and hero say nothing about what a value IS or how it is formatted — they say where the rendered node lands in the surface. Pushing them into AttributeWidgetOptions would duplicate them across every widget and would let the whitelist confront them, which is meaningless.

    ⚠️ Added 02/08/2026, at the Sprint 2 pre-flight, because the frozen contract could not express what the profiles on disk already declare — and the descriptor is additionalProperties: false, so the migration would have failed validation rather than degrade silently. That is the good failure mode; the gap was still real.

    interface AttributeDisplayPresentation {
        accordion?: boolean;
        defaultOpen?: boolean;
        emphasis?: AttributeEmphasis;
        hero?: boolean;
    }
    Index

    Properties

    accordion?: boolean

    Wraps the field in a collapsible section. Side panel only.

    defaultOpen?: boolean

    Whether that collapsible section starts open. Meaningless without accordion.

    Visual emphasis. See AttributeEmphasis.

    hero?: boolean

    Lifts an image out of the field flow, as a header image.

    Only meaningful on the image widget, and only on the side panel. The current body is closed before the image is inserted — otherwise it would nest inside the field flow instead of heading it.