UNPKG

@empathyco/x-components

Version:
26 lines (19 loc) 1.13 kB
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [SelectedFilters](./x-components.selectedfilters.md) ## SelectedFilters variable Provides a scoped slot with the selected filters from every facet, or from the facet which facet id is passed as property. The default slot renders the length of the selected filters array. The property "alwaysVisible" handles if the component is rendered if no filters are selected. **Signature:** ```typescript _default: import("vue").DefineComponent<{ facetsIds: PropType<Array<Facet["id"]>>; alwaysVisible: BooleanConstructor; }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any; }> | "", unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ facetsIds: PropType<Array<Facet["id"]>>; alwaysVisible: BooleanConstructor; }>>, { alwaysVisible: boolean; }, {}> ```