UNPKG

@empathyco/x-components

Version:
36 lines (30 loc) 1.52 kB
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [HistoryQuery](./x-components.historyquery.md) ## HistoryQuery variable This component renders a history query suggestion combining two buttons: one for selecting this suggestion as the search query, and another one to remove this query suggestion from the history queries. **Signature:** ```typescript _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ suggestion: { type: PropType<HistoryQueryModel>; required: true; }; removeButtonClass: StringConstructor; suggestionClass: StringConstructor; }>, { query: import("vue").ComputedRef<string>; suggestionSelectedEvents: import("vue").ComputedRef<Partial<XEventsTypes>>; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ suggestion: { type: PropType<HistoryQueryModel>; required: true; }; removeButtonClass: StringConstructor; suggestionClass: StringConstructor; }>> & Readonly<{ onClick?: ((...args: any[]) => any) | undefined; }>, {}, {}, { RemoveHistoryQuery: import("vue").DefineComponent<{}, {}, any>; BaseSuggestion: import("vue").DefineComponent<{}, {}, any>; }, {}, string, import("vue").ComponentProvideOptions, true, {}, any> ```