DojoToggleButton widget

The DojoToggleButton widget creates a button and the text of the button changes when clicked.

Fields

text
The text label for the button.
checkedText
The text label for when clicked.

Functions

isChecked
Returns true if the button is checked.

Other supported fields and functions are described in the following topics in the EGL Programmer’s Guide: “Rich UI widget fields” and ”Rich UI widget functions.”

Use of this widget requires the following statement:
import dojo.widgets.DojoToggleButton;