The DojoDialog widget creates a pop-up dialog box. By default,
the box is hidden.
Please note that if the width or height that is specified for the
Dojo dialog widget is less than the equivalent value for a child widget,
the display on Microsoft Internet Explorer 8 or earlier is different
from the display on other browsers.
Properties
- 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