Widget display methods
After creating and configuring the widget, you can make use of a few methods to control the display of the widget.
Initialise the widget
The
mount()
method will initialise the widget as an iFrame.
wertWidget.mount();
Switch the widget theme without reloading it
wertWidget.setTheme({
theme: 'dark', // use undefined โ for default white theme
colors: {
// all hexadecimal color codes are supported
color_buttons: '#FF0000',
},
});
Updated 2 months ago
Documentation related to this page