@empathyco/x-components
Version:
Empathy X Components
38 lines (31 loc) • 1.58 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[](./index.md) > [@empathyco/x-components](./x-components.md) > [BaseColumnPickerDropdown](./x-components.basecolumnpickerdropdown.md)
Column picker dropdown component renders [BaseDropdown](./x-components.basedropdown.md) component which options are the different columns you can set for a grid.
It emits [XEventsTypes.UserClickedColumnPicker](./x-components.xeventstypes.userclickedcolumnpicker.md) on dropdown input.
**Signature:**
```typescript
_default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
columns: {
type: PropType<number[]>;
required: true;
};
modelValue: NumberConstructor;
animation: PropType<string | Component>;
}>, {
emitEvents: (column: number) => void;
hasToggleSlot: boolean;
selectedColumns: import("vue").Ref<number, number>;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
columns: {
type: PropType<number[]>;
required: true;
};
modelValue: NumberConstructor;
animation: PropType<string | Component>;
}>> & Readonly<{
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
}>, {}, {}, {
BaseDropdown: import("vue").DefineComponent<{}, {}, any>;
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>
```