interface SearchFilterConfiguration {
    options: {
        inputSelector: string;
        contentSelector: string;
        callback: Function;
        initial: string;
        delay: number;
    };
}

Properties

Properties

options: {
    inputSelector: string;
    contentSelector: string;
    callback: Function;
    initial: string;
    delay: number;
}

Options which customize the behavior of the filter

Type declaration

  • inputSelector: string

    The CSS selector used to target the text input element.

  • contentSelector: string

    The CSS selector used to target the content container for these tabs.

  • callback: Function

    A callback function which executes when the filter changes.

  • initial: string

    The initial value of the search query.

  • delay: number

    The number of milliseconds to wait for text input before processing.