Trevixal API
    Preparing search index...

    Interface FindReplaceOptions

    interface FindReplaceOptions {
        container: HTMLElement;
        matchLimit?: number;
        onResult?: (result: FindReplaceResult, activeIndex: number) => void;
        showReplace?: boolean;
        startHidden?: boolean;
    }
    Index
    container: HTMLElement

    Where the bar is appended.

    matchLimit?: number

    Cap on total matches per search (default 5000).

    onResult?: (result: FindReplaceResult, activeIndex: number) => void

    Called whenever a search completes, for a host-owned status readout.

    showReplace?: boolean

    Hide the replace row for a find-only bar.

    startHidden?: boolean

    Start hidden (default true). The bar is opened from a menu or a key.