@empathyco/x-components
Version:
Empathy X Components
32 lines (26 loc) • 1.45 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<import("vue").ExtractPropTypes<{
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>;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
facet: {
type: PropType<Facet>;
required: true;
};
}>> & Readonly<{}>, {}, {}, {
BaseEventButton: import("vue").DefineComponent<{}, {}, any>;
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>
```