Skip to content

Filter.Root Events

TypeDescription
onChange(state: FilterChangeState) => void(optional) Called whenever the applied filter state changes. Receives a FilterChangeState object with search and filters. When behavior="manual", this is called immediately for search changes and applied filter removals, while draft panel filter changes are only emitted when the user applies them.

Filter.Search Events

TypeDescription
onChange(value: string) => void(optional) Called when the search input value changes. Receives the new value string.

Filter.ActiveFilters Events

TypeDescription
onRemove(filterKey: string) => void(optional) Called when a filter tag is removed by the user. Receives the filterKey of the removed filter.

Filter.SortButton Events

TypeDescription
onChange(event: DrawerListChangeEvent) => void(optional) Called when the user selects a sort option. Receives the Dropdown change event.