UNPKG

@empathyco/x-components

Version:
44 lines (38 loc) 1.76 kB
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [BaseVariableColumnGrid](./x-components.basevariablecolumngrid.md) ## BaseVariableColumnGrid variable The `BaseVariableColumnGrid` component is a wrapper of the `BaseGrid` component that listens to the `UserClickedColumnPicker` and the `ColumnsNumberProvided` events and passes the selected number of columns to the grid. It also allows to customize the grid items using the available `scopedSlots`<!-- -->. **Signature:** ```typescript _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ animation: { type: (StringConstructor | ObjectConstructor | FunctionConstructor)[]; default: string; }; items: PropType<ListItem[]>; columns: { type: NumberConstructor; default: number; }; }>, { columnsToRender: import("vue").ComputedRef<number>; slots: Readonly<{ [name: string]: import("vue").Slot<any> | undefined; }>; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ animation: { type: (StringConstructor | ObjectConstructor | FunctionConstructor)[]; default: string; }; items: PropType<ListItem[]>; columns: { type: NumberConstructor; default: number; }; }>> & Readonly<{}>, { animation: string | Function | Record<string, any>; columns: number; }, {}, { BaseGrid: import("vue").DefineComponent<{}, {}, any>; }, {}, string, import("vue").ComponentProvideOptions, true, {}, any> ```