@empathyco/x-components
Version:
Empathy X Components
97 lines (43 loc) • 1.64 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [RecommendationsXEvents](./x-components.recommendationsxevents.md)
## RecommendationsXEvents interface
Dictionary of the events of Recommendations XModule, where each key is the event name, and the value is the event payload type or `void` if it has no payload.
**Signature:**
```typescript
export interface RecommendationsXEvents
```
## Properties
<table><thead><tr><th>
Property
</th><th>
Modifiers
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
[RecommendationsChanged](./x-components.recommendationsxevents.recommendationschanged.md)
</td><td>
</td><td>
Result\[\]
</td><td>
Recommendations have been changed. Payload: The new [recommendations](./x-types.result.md)<!-- -->.
</td></tr>
<tr><td>
[RecommendationsRequestUpdated](./x-components.recommendationsxevents.recommendationsrequestupdated.md)
</td><td>
</td><td>
RecommendationsRequest
</td><td>
Any property of the recommendations request has changed. Payload: The new recommendations request or `null` if there is not enough data in the state to conform a valid request.
</td></tr>
<tr><td>
[UserClickedARecommendation](./x-components.recommendationsxevents.userclickedarecommendation.md)
</td><td>
</td><td>
Result
</td><td>
A recommendation result has been clicked. Payload: The [result](./x-types.result.md)<!-- -->.
</td></tr>
</tbody></table>