Links

Methods

Loading the Onset JavaScript library provides a JavaScript object that responds to several methods.

Show Widget

Show the widget window.
onsetWidget.show();

Hide Widget

Hide the widget window if it is open.
onsetWidget.hide();

Toggle Widget

Show/hide widget window.
onsetWidget.toggle();

Update Widget

Update widget configuration.
onsetWidget.update({
// options
});

Reload Widget

Reload the widget with new data.
onsetWidget.reload({
// options
});