UNPKG

@empathyco/x-components

Version:
32 lines (26 loc) 1.45 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<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> ```