IAttributeFilterMenuConfig
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
Configuration for the attribute filter header menu.
export interface IAttributeFilterMenuConfig
Remarks
Groups together props that control the header menu behavior, such as which filter modes are available and whether label switching is shown.
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
(ALPHA) (Optional) Limit which filter modes are available for switching. | |||
boolean | (ALPHA) (Optional) Show the “Values as” label switching section in the header menu. |
Property details
IAttributeFilterMenuConfig.availableSelectionTypespropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
Limit which filter modes are available for switching.
availableSelectionTypes?: AttributeFilterAvailableSelectionType[];
Remarks
When more than one mode is available, the mode switch menu is shown. Defaults to all modes: [“elements”, “arbitrary”, “match”]. The UI maps arbitrary/match to internal text mode and distinguishes them by operator: “is”/“isNot” = arbitrary, others = match.
IAttributeFilterMenuConfig.showLabelsSwitchpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
Show the “Values as” label switching section in the header menu.
showLabelsSwitch?: boolean;
Remarks
When true, the “Values as” section is shown in the header menu, allowing users to switch between different display forms of the attribute. The section is only visible when the attribute has more than one display form. Defaults to true.