Popup

Overview

POPUP is a component that presents a standard pop-up. Ui-related POPUP inherits from view.


Related sample: 08_window/05_popup.html

Initialization

The following is an example of initialization with the commonly used parameters (to see a full list of POPUP's parameters, please refer to the corresponding chapter of the manual):

dhx.ui({
           view:"popup",
	   body:{ ... },
	   left:500
})

Specify id if you're going to refer to POPUP later.

API Reference

Useful Tips

There are 2 main (+ 1 additional) ways to set POPUP position on the screen:

  1. The parameter position.
  2. The parameters left and top.
  3. The controls' parameter 'popup' (additional. Can be used just when you attach popup to control).

Related articles

A full list of articles.

To use ui functionality, touchui.css and touchui.js files must be included.