UNPKG

@empathyco/x-components

Version:
39 lines (33 loc) 1.25 kB
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [SortList](./x-components.sortlist.md) ## SortList variable The `SortList` 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: { type: PropType<string | typeof Vue>; default: () => string; }; }>, { listItems: Vue.ComputedRef<SortListItem[]>; selectedSort: Vue.ComputedRef<string>; }, {}, {}, {}, Vue.ComponentOptionsMixin, Vue.ComponentOptionsMixin, {}, string, Vue.PublicProps, Readonly<Vue.ExtractPropTypes<{ items: { type: PropType<Sort[]>; required: true; }; animation: { type: PropType<string | typeof Vue>; default: () => string; }; }>> & Readonly<{}>, { animation: string | typeof Vue; }, {}, { BaseEventButton: Vue.DefineComponent<{}, {}, any>; }, {}, string, Vue.ComponentProvideOptions, true, {}, any> ```