Skip to main content

Methods

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

Show Widget

This will show the widget.

onsetWidget.show();

Hide Widget

This will hide the widget if it is open.

onsetWidget.hide();

Toggle Widget

This will hide the widget if it is open and show it if it is hidden.

onsetWidget.toggle();