@empathyco/x-components
Version:
Empathy X Components
43 lines (34 loc) • 1.72 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[](./index.md) > [@empathyco/x-components](./x-components.md) > [RenderlessFilter](./x-components.renderlessfilter.md)
Renders default slot content. It binds to the default slot a [BooleanFilter](./x-types.booleanfilter.md)<!-- -->, the [XEvent](./x-components.xevent.md) that will be emitted when clicking the content, the CSS classes and if the content should be deactivated.
**Signature:**
```typescript
_default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
filter: {
type: PropType<BooleanFilter>;
required: true;
};
clickEvents: PropType<Partial<XEventsTypes>>;
cssClasses: {
type: PropType<(string | Dictionary<boolean>)[]>;
default: () => never[];
};
}>, () => "" | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
[]: any;
}>[], {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
filter: {
type: PropType<BooleanFilter>;
required: true;
};
clickEvents: PropType<Partial<XEventsTypes>>;
cssClasses: {
type: PropType<(string | Dictionary<boolean>)[]>;
default: () => never[];
};
}>> & Readonly<{}>, {
cssClasses: (string | Dictionary<boolean>)[];
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>
```
The default slot expects a root element, if it receives a list of elements, it will render the first element.