@empathyco/x-components
Version:
Empathy X Components
27 lines (21 loc) • 1.08 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [PartialQueryButton](./x-components.partialquerybutton.md)
## PartialQueryButton variable
A button that when pressed emits the [XEventsTypes.UserAcceptedAQuery](./x-components.xeventstypes.useracceptedaquery.md) and [SearchXEvents.UserClickedPartialQuery](./x-components.searchxevents.userclickedpartialquery.md) events, expressing the user intention to set the partial query.
**Signature:**
```typescript
_default: import("vue").DefineComponent<{
query: {
type: StringConstructor;
required: true;
};
}, {
partialButtonEl: import("vue").Ref<HTMLElement | undefined>;
emitEvents: () => void;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
query: {
type: StringConstructor;
required: true;
};
}>>, {}, {}>
```