UNPKG

@empathyco/x-components

Version:
23 lines (14 loc) 1.36 kB
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [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 | Property | Modifiers | Type | Description | | --- | --- | --- | --- | | [RecommendationsChanged](./x-components.recommendationsxevents.recommendationschanged.md) | | Result\[\] | Recommendations have been changed. Payload: The new [recommendations](./x-types.result.md)<!-- -->. | | [RecommendationsRequestUpdated](./x-components.recommendationsxevents.recommendationsrequestupdated.md) | | RecommendationsRequest | Any property of the recommendations request has changed. Payload: The new recommendations request or <code>null</code> if there is not enough data in the state to conform a valid request. | | [UserClickedARecommendation](./x-components.recommendationsxevents.userclickedarecommendation.md) | | Result | A recommendation result has been clicked. Payload: The [result](./x-types.result.md)<!-- -->. |