@empathyco/x-components
Version:
Empathy X Components
36 lines (29 loc) • 1.34 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: Vue.DefineComponent<{
columns: {
type: PropType<number[]>;
required: true;
};
modelValue: NumberConstructor;
animation: PropType<string | typeof Vue>;
}, {
emitEvents: (column: number) => void;
hasToggleSlot: boolean;
selectedColumns: Vue.Ref<number>;
}, unknown, {}, {}, Vue.ComponentOptionsMixin, Vue.ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", Vue.PublicProps, Readonly<Vue.ExtractPropTypes<{
columns: {
type: PropType<number[]>;
required: true;
};
modelValue: NumberConstructor;
animation: PropType<string | typeof Vue>;
}>> & {
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
}, {}, {}>
```