UNPKG

@empathyco/x-components

Version:
40 lines (34 loc) 1.46 kB
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [RelatedTag](./x-components.relatedtag.md) ## RelatedTag variable This component renders a related tag for a query. A related tag is a descriptive keyword related to the current query to fine-tune the search. For example, if you are searching for \*lego\*, a related tag could be \*city\*, refining the search with \*lego city\*. **Signature:** ```typescript _default: import("vue").DefineComponent<{ highlightCurated: { type: BooleanConstructor; default: boolean; }; relatedTag: { type: PropType<RelatedTagModel>; required: true; }; }, { buttonEl: import("vue").Ref<HTMLElement | undefined>; dynamicClasses: import("vue").ComputedRef<VueCSSClasses>; isSelected: import("vue").ComputedRef<boolean>; clickRelatedTag: () => void; shouldHighlightCurated: import("vue").ComputedRef<boolean>; }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ highlightCurated: { type: BooleanConstructor; default: boolean; }; relatedTag: { type: PropType<RelatedTagModel>; required: true; }; }>>, { highlightCurated: boolean; }, {}> ```