Dec 1, 2022
New Widget Methods
Project
JavaScript SDK
Labels
JavaScript
SDK
Summary
We've introduced two new methods for our JavaScript Widget: onsetWidget.update() allows you to change widget options, making it easier to match your site's theme, while onsetWidget.reload() refreshes the widget with updated data and settings.
We’ve added two new handy methods to our JavaScript Widget.
onsetWidget.update()- updates widget options. Useful when updating the widget’s theme to match the embedded site’s look.onsetWidget.reload()- reloads the widget with the new data source and options.
We use cookies to enhance your browsing experience and analyze our traffic.
