FilterBadge API
Props, callbacks and methods. Select an underlined type to explore its fields, allowed values and callback arguments.
FilterBadge9 props1 callbacks0 methods
Props9
| Name | Type | Description |
|---|---|---|
classNameOptional | string | undefined | Additional CSS classes applied to the component root. |
roleOptional | "listitem" | undefined | Accessibility role used by the rendered element. |
removeLabelOptional | string | undefined | Accessible text or formatter for the remove-item action. |
removeClassNameOptional | string | undefined | Additional CSS classes for the remove part of the component. |
labelRequired |
| Label content or accessible name for the component, as rendered by this control. |
colorOptional | string | undefined | CSS color used for this item or its visual accent. |
detailsOptional | string | undefined | Supplementary detail content associated with this item or message. |
detailsLabelOptional | string | undefined | Accessible label for the filter-details information action. |
descriptionIdOptional | string | undefined | ID used to associate the explanatory content with its trigger. |
Events and callbacks1
| Name | Type | Description |
|---|---|---|
onRemoveOptional |
| Requests removal of the indicated item; the application owns updating its data. |
Methods0
No component-specific imperative methods. Use props and callbacks to control this component.