The DojoDialog widget creates a popup box.
Fields
- title
- The title that is displayed on the top of the dialog box
- children
- Contains the code that defines the content that is in the dialog
box. The box can contain anything that can be included in the Box
widget; for example, HTML or a DateBox widget.
- draggable
- Specifies whether the dialog box can be dragged. Valid values
are true and false.
- closable
- Specifies whether the dialog box can be closed. Valid values are
true and false.
Functions
- showDialog
- Opens the dialog box. You can close the box by clicking the x on
the right top corner, or by pressing the Esc key.
- hideDialog
- Hides the dialog box
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.DojoDialog;