@empathyco/x-components
Version:
Empathy X Components
78 lines (35 loc) • 1.14 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [SearchBoxActions](./x-components.searchboxactions.md)
## SearchBoxActions interface
SearchBox store actions.
**Signature:**
```typescript
export interface SearchBoxActions
```
## Properties
<table><thead><tr><th>
Property
</th><th>
Modifiers
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
[setInputStatus](./x-components.searchboxactions.setinputstatus.md)
</td><td>
</td><td>
(event: [XEvent](./x-components.xevent.md)<!-- -->) => void
</td><td>
Changes the machine state to a new state and updates the input status in the store with it.
</td></tr>
<tr><td>
[setUrlParams](./x-components.searchboxactions.seturlparams.md)
</td><td>
</td><td>
(urlParams: [UrlParams](./x-components.urlparams.md)<!-- -->) => void
</td><td>
Checks if the url has a query on it and then updates the state with that value.
</td></tr>
</tbody></table>