Events
Action
Hotel Details

Details/Hotel

Triggered when Roomstay is loads the details for a specific hotel.

roomstay.events.on('Details/Hotel', (event: DetailsHotel) => {
  console.log(
    `Current Hotel selected has the following details: ${event.HotelDetails}`
  )
})

HotelDetails

Current hotel details, containing important information to identify the hotel.

Type: HotelDetails