Basket/Add
Triggered when a user adds a basket item to their cart.
roomstay.events.on('Basket/Add', (event: StepCheckoutViewEvent) => {
console.log(`User added room ${event.basketRow.getRoom().name} to basket`)
})
basketRow
Row removed from the basket
Type: BasketRow
currentBasket
Current basket as the user would see it, after removal of last item.
Type: BasketRow
[]