You can configure the following widgets: Betslip Mobile, Betslip Tablet, and Betslip Desktop outside of the betting layout.
First, create an html element with a unique id where you want to display the widget
| <div id="YOUR_UNIQUE_ID"></div>
|
During the initialization, call method bettingAPI.setupWidget(name: WidgetName, options: WidgetBetslipOptions)
using the following types:
| type WidgetName = 'betslipMobile' | 'betslipTablet' | 'betslipDesktop';
interface WidgetBetslipOptions {
// undefined - place based on our application; null - no render; string - render widget in you dom element
containerElementId?: string | null;
}
|
Example of widget Betslip Mobile: