Options which customize the behavior of the filter

interface SearchFilterConfiguration {
    callback: SearchFilterCallback;
    contentSelector: string;
    delay?: number;
    initial?: string;
    inputSelector: string;
}

Properties

A callback function which executes when the filter changes.

contentSelector: string

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

delay?: number

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

initial?: string

The initial value of the search query.

inputSelector: string

The CSS selector used to target the text input element.