UNPKG

@empathyco/x-components

Version:
43 lines (34 loc) 1.72 kB
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [RenderlessFilter](./x-components.renderlessfilter.md) ## RenderlessFilter variable 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, { [key: string]: 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> ``` ## Remarks The default slot expects a root element, if it receives a list of elements, it will render the first element.