Breadcrumb
PublicCslService
The PublicCslService allows to create and register custom tiles (widgets) that will be added to hotel search drawer and hotel details drawer.
Acquiring PublicCslService
In order to obtain PublicCslService and use it, you need to import it, e.g.
import { PublicCslService } from 'sabre-ngv-csl/response/service/PublicCslService';
Then obtain the service inside your source as below:
const cslService: PublicCslService = getService(PublicCslService);
Available methods
createCslHotelSearchTile |
---|
Type Parameters:
Creates custom tile and registers it in the hotel search (CSL) result drawer. |
createCslHotelDetailsTile |
---|
Type Parameters:
Creates custom tile and registers it in the hotel details (CSL) result drawer. |
See com.sabre.redapp.example3.web.csl.tile sample for implementation.