@empathyco/x-components
Version:
Empathy X Components
41 lines (35 loc) • 1.45 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [SortPickerList](./x-components.sortpickerlist.md)
## SortPickerList variable
The `SortPickerList` component allows user to select the search results order. This component also allows to change the selected sort programmatically.
**Signature:**
```typescript
_default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
items: {
type: PropType<Sort[]>;
required: true;
};
animation: {
type: PropType<string | Component>;
default: () => string;
};
buttonClass: StringConstructor;
}>, {
listItems: import("vue").ComputedRef<SortPickerItem[]>;
selectedSort: import("vue").ComputedRef<string>;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
items: {
type: PropType<Sort[]>;
required: true;
};
animation: {
type: PropType<string | Component>;
default: () => string;
};
buttonClass: StringConstructor;
}>> & Readonly<{}>, {
animation: string | Component;
}, {}, {
BaseEventButton: import("vue").DefineComponent<{}, {}, any>;
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>
```