Event | Description | Response type | Example |
did-load | Event is sent after the component has been loaded. | Object | null |
expanded | Indicates whether the component is open or not. | Object | {"expanded": true} |
offer-preselected | Indicates whether a offer is selected. Returns offer:true | Object | {"offer": true} |
offer-removed | Indicates whether a offer is deselected. Returns offer:true | Object | {"offer": false} |
offer-selected | Returns the selected offer. Returns null if offer is deselected. | JSON - SelectedOfferResponse | {"bookingSystem":"TUI_WHEELS","driver":null,"flightNumber":null,"offerId":"2428","price":{"amount":137.78,"currency":"EUR"},"reportSummary":{},"vehicle":{"acriss":"EMMS","manufacturer":"Renault","model":"Clio"}} |
start-date-changed | Returns the new start date. | Object | {"startDate": "2020-09-27"} |
start-time-changed | Returns the new start time. | Object | {"startTime": "10:15:00"} |
end-date-changed | Returns the new end date. | Object | {"endDate": "2020-10-08"} |
end-time-changed | Returns the new end time. | Object | {"endTime": "17:45:00"} |
flight-number-changed | Returns the new flight number. | Object | {"flightNumber": "AB12345"} |
offer-response | Fired when search request is done (minPrice, perDay and currency become null if offer count is 0) | Object | {"count": 21, "minPrice": 918.68, "perDay": 43.75, "currency": "EUR"} |
offer-scroll-left | Fired when the user uses the arrow keys to navigate to the left, limit is true when "start" is reached, clicks holds number of clicks accumulated and resets on event | Object | {"limit": false, "clicks": 1} |
offer-scroll-right | Fired when the user uses the arrow keys to navigate to the right, limit is true when "end" is reached, clicks holds number of clicks accumulated and resets on event | Object | {"limit": false, "clicks": 1} |