DojoDialog

The DojoDialog widget creates a pop-up dialog box.

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

Example

The following example shows the code and output for the DojoDialog widget. The example contains HTML text and a button.


new DojoDialog{title="Test Dialog Box",innerBox=box};

Example of a dialog box that contains HTML text and a button.

Feedback