UNPKG

@empathyco/x-components

Version:
43 lines (34 loc) 1.6 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<{ 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; }>[] | "", unknown, {}, {}, 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[]; }; }>>, { cssClasses: (string | Dictionary<boolean>)[]; }, {}> ``` ## Remarks The default slot expects a root element, if it receives a list of elements, it will render the first element.