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
Property | Type | Description |
---|---|---|
page | enum | 'property-selection' | 'room-details' |
roomCode | string | The code of the room to show details of in the room-details page |