Content:
- Examples
- Properties
- Methods

A Dialog in mobile UI design is a pop-up window that appears on top of the current screen to prompt the user for input or to convey information.

dlg = ui.addDialog( title, body, actions?, options?, width? ) → ui object: Dialog

Here are the available methods of the Dialog Component.

Examples

Example - Basic click to expand contents 

Example - NoCancel click to expand contents 

Example - Adding controls to the dialog click to expand contents 

Properties

The following properties are available on the Dialog object:

layoutObject
textString
titleColorString
titleTextString

Methods

The following methods are available on the Dialog object:

hide()
show()