UNPKG

@empathyco/x-components

Version:
30 lines (24 loc) 1.27 kB
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [AllFilter](./x-components.allfilter.md) ## AllFilter variable 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; }; }>>, {}, {}> ```