UNPKG

@empathyco/x-components

Version:
78 lines (35 loc) 1.14 kB
<!-- 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 <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)<!-- -->) =&gt; 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)<!-- -->) =&gt; void </td><td> Checks if the url has a query on it and then updates the state with that value. </td></tr> </tbody></table>