UNPKG

@empathyco/x-components

Version:
34 lines (28 loc) 1.41 kB
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [SortDropdown](./x-components.sortdropdown.md) ## SortDropdown variable The `SortDropdown` 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: PropType<string | Component>; }>, { emitUserClickedASort: (sort: Sort) => void; rootRef: import("vue").Ref<import("vue").DefineComponent<{}, {}, any> | undefined, import("vue").DefineComponent<{}, {}, any> | undefined>; selectedSort: import("vue").ComputedRef<string>; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ items: { type: PropType<Sort[]>; required: true; }; animation: PropType<string | Component>; }>> & Readonly<{ onChange?: ((...args: any[]) => any) | undefined; }>, {}, {}, { BaseDropdown: import("vue").DefineComponent<{}, {}, any>; }, {}, string, import("vue").ComponentProvideOptions, true, {}, any> ```