@empathyco/x-components
Version:
Empathy X Components
19 lines (10 loc) • 874 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[](./index.md) > [@empathyco/x-components](./x-components.md) > [SearchXEvents](./x-components.searchxevents.md) > [SearchRequestUpdated](./x-components.searchxevents.searchrequestupdated.md)
Any property of the search request has been updated. Payload: The new search request or `null` if there is not enough data in the state to conform a valid request.
**Signature:**
```typescript
SearchRequestUpdated: InternalSearchRequest | null;
```
The difference from `SearchRequestChanged` and this event is this one will be executed with more priority (As it is not a `...Changed` event). So we can use this event to modify request params before emitting the `SearchRequestChanged` and fetch the API.