@empathyco/x-components
Version:
Empathy X Components
42 lines (36 loc) • 1.58 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [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<{
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;
}>;
}, unknown, {}, {}, 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;
};
}>>, {
animation: string | Function | Record<string, any>;
columns: number;
}, {}>
```