@empathyco/x-components
Version:
Empathy X Components
26 lines (19 loc) • 1.13 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[](./index.md) > [@empathyco/x-components](./x-components.md) > [SelectedFilters](./x-components.selectedfilters.md)
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, {
[]: 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;
}, {}>
```