UNPKG

@empathyco/x-components

Version:
22 lines (13 loc) 914 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [SearchBoxActions](./x-components.searchboxactions.md) ## SearchBoxActions interface SearchBox store actions. **Signature:** ```typescript export interface SearchBoxActions ``` ## Properties | Property | Modifiers | Type | Description | | --- | --- | --- | --- | | [setInputStatus](./x-components.searchboxactions.setinputstatus.md) | | (event: [XEvent](./x-components.xevent.md)<!-- -->) =&gt; void | Changes the machine state to a new state and updates the input status in the store with it. | | [setUrlParams](./x-components.searchboxactions.seturlparams.md) | | (urlParams: [UrlParams](./x-components.urlparams.md)<!-- -->) =&gt; void | Checks if the url has a query on it and then updates the state with that value. |