Developer Reference

postMessage events and integration hooks for building custom experiences on top of RentalBeam widgets.

Available onFreePlusPro

Nothing in this section is needed to use the widgets. Putting one on a page is a snippet and no code. These pages are for whoever builds your website, on the day you want the site itself to react to what a guest picks.

RentalBeam widgets communicate with the parent page through postMessage: the booking widget emits events when a guest selects or clears dates, and the calendar widget accepts an inbound message to switch its theme. You can hook into these from any page where a widget is embedded.

Plan requirements

FeatureFreePlusPro
Calendar widget (theme inbound event)✓✓✓
Booking widget postMessage outbound events--✓

In this section