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

    Interface PillSearchHandles

    DOM handles returned by createPillSearchInput.

    interface PillSearchHandles {
        root: HTMLDivElement;
        input: HTMLInputElement;
        clearBtn: HTMLButtonElement;
        submitBtn: HTMLButtonElement;
        destroy: () => void;
    }
    Index

    Properties

    root: HTMLDivElement

    Root <div class="gl-pill-search"> wrapper.

    input: HTMLInputElement

    The search input element.

    clearBtn: HTMLButtonElement

    The trailing × button (auto-hidden when the input is empty).

    submitBtn: HTMLButtonElement

    The trailing magnifier button (always visible).

    destroy: () => void

    Removes all listeners and detaches the wrapper from its parent. Idempotent — safe to call multiple times.