searchcraft-filter-panel
This web component represents a series of filters that allows users to refine and control their search queries by applying various filter criteria.
Import
Section titled “Import”import { SearchcraftFilterPanel } from "@searchcraft/react-sdk";
import { SearchcraftFilterPanel } from "@searchcraft/vue-sdk";
<searchcraft-filter-panel />
const filterPanel = document.querySelector('searchcraft-filter-panel');
if (filterPanel) { filterPanel.items = [];}
<SearchcraftFilterPanel items={[]} />
<SearchcraftFilterPanel :items="[]" />
Properties
Section titled “Properties”Property | Attribute | Description | Type | Default |
---|---|---|---|---|
items | — | The items to filter. | FilterItem[] | [] |
searchcraftId | searchcraft-id | The id of the Searchcraft instance that this component should use. | string | undefined | undefined |