UNPKG

@empathyco/x-components

Version:
19 lines (10 loc) 874 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [SearchXEvents](./x-components.searchxevents.md) &gt; [SearchRequestUpdated](./x-components.searchxevents.searchrequestupdated.md) ## SearchXEvents.SearchRequestUpdated property 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; ``` ## Remarks 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.