Class “Popup”

Object > NativeObject > Popup

Base class for all pop-up UI elements. Pop-ups are placed on top of all other UI, but are not widgets. Some pop-ups can be opened only once.

Constructor protected
Singleton No
Namespace tabris
Direct subclasses ActionSheet, AlertDialog, DateDialog, Popover, TimeDialog
JSX support No

Methods

close()

Hides the popup.

Returns this

open()

Makes the popup visible.

Returns this

Properties

[JSX.jsxFactory]

This function is called to create JSX popup elements. You may override it in your own subclass to create custom JSX behavior. The function is not called with any context, i.e. this is not available.

Type JSX.JsxFactory
Settable No
Change events No

This property can only be set via constructor. Once set, it cannot change anymore.