@empathyco/x-components
Version:
Empathy X Components
30 lines (24 loc) • 1.27 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[](./index.md) > [@empathyco/x-components](./x-components.md) > [AllFilter](./x-components.allfilter.md)
This component receives a required `facet` with [BooleanFilter](./x-types.booleanfilter.md) as prop and renders a button, which on clicked emits the [FacetsXEvents.UserClickedAllFilter](./x-components.facetsxevents.userclickedallfilter.md) event. By default the rendered button displays a message with the facet label but this content is customizable through the default slot.
**Signature:**
```typescript
_default: import("vue").DefineComponent<{
facet: {
type: PropType<Facet>;
required: true;
};
}, {
clickEvent: import("vue").ComputedRef<Partial<XEventsTypes>>;
cssClasses: import("vue").ComputedRef<{
'x-selected x-all-filter--is-selected': boolean;
}>;
isSelected: import("vue").ComputedRef<boolean>;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
facet: {
type: PropType<Facet>;
required: true;
};
}>>, {}, {}>
```