@empathyco/x-components
Version:
Empathy X Components
25 lines (14 loc) • 558 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [BaseXAPI](./x-components.basexapi.md) > [search](./x-components.basexapi.search.md)
## BaseXAPI.search() method
Searches the query parameter as user query.
**Signature:**
```typescript
search(query?: string): void;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| query | string | _(Optional)_ Query to be searched. |
**Returns:**
void