UNPKG

@empathyco/x-components

Version:
29 lines (23 loc) 1.08 kB
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [SemanticQuery](./x-components.semanticquery.md) ## SemanticQuery variable This component renders a semantic query. A semantic query is a recommended query that is similar in its meaning to another one. It contains the query and the distance, which indicates how similar the query is compared to the searched query. **Signature:** ```typescript _default: import("vue").DefineComponent<{ suggestion: { type: PropType<SemanticQuery>; required: true; }; }, { query: import("vue").ComputedRef<string>; suggestionSelectedEvents: { UserSelectedASemanticQuery: SemanticQuery; }; }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ suggestion: { type: PropType<SemanticQuery>; required: true; }; }>>, {}, {}> ```