The widget defines a pop-up dialog with basic functionality.
It can contain child widgets of any type except DojoMobileView.
Properties
- title
- Specifies the title of the dialog.
- closeButton
- Specifies whether to show a close button in the top right corner.
- modal
- Specifies whether to disable interaction with the web page while
the dialog is displayed.
- leftPos
- The horizontal position of the dialog (from the left). For example, “100px”.
- topPos
- The vertical position of the dialog (from the top). For example, “100px”.
Functions
- showDialog
- Shows the dialog.
- hideDialog
- Hides the dialog.
Events
- onCloseButtonClick
- The function to call when the closeButton is clicked.