Toggle Widget

This method is the most efficient way to open and close the widget using just one button. It opens the widget if it is closed, and vice versa.

agastya.toggle();

You can add this method to a button with a simple onclick event, for example:

<button onclick="agastya.toggle()">Accessibility Options</button>