UNPKG

@empathyco/x-components

Version:
34 lines (28 loc) 1.29 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: Vue.DefineComponent<Vue.ExtractPropTypes<{ items: { type: PropType<Sort[]>; required: true; }; animation: PropType<string | typeof Vue>; }>, { emitUserClickedASort: (sort: Sort) => void; rootRef: Vue.Ref<Vue.DefineComponent<{}, {}, any> | undefined, Vue.DefineComponent<{}, {}, any> | undefined>; selectedSort: Vue.ComputedRef<string>; }, {}, {}, {}, Vue.ComponentOptionsMixin, Vue.ComponentOptionsMixin, "change"[], "change", Vue.PublicProps, Readonly<Vue.ExtractPropTypes<{ items: { type: PropType<Sort[]>; required: true; }; animation: PropType<string | typeof Vue>; }>> & Readonly<{ onChange?: ((...args: any[]) => any) | undefined; }>, {}, {}, { BaseDropdown: Vue.DefineComponent<{}, {}, any>; }, {}, string, Vue.ComponentProvideOptions, true, {}, any> ```