Skip to main content

setPage

Sets the current view of the Price Comparison widget. The property-selection subpage displays the grid of all the properties for multi-property businesses The room-details subpage displays the photo gallery and tabbed details of a room

Example

rpt({
widget: "price-comparison",
command: "setPage",
payload: { page: "property-selection" },
});

Payload

PropertyTypeDescription
pageenum'property-selection' | 'room-details'
roomCodestringThe code of the room to show details of in the room-details page