Methods
Loading the Onset JavaScript library provides a JavaScript object that responds to several methods.
Show the widget window.
onsetWidget.show();
Hide the widget window if it is open.
onsetWidget.hide();
Show/hide widget window.
onsetWidget.toggle();
Update widget configuration.
onsetWidget.update({
// options
});
Reload the widget with new data.
onsetWidget.reload({
// options
});
Last modified 9mo ago