Difference between revisions of "AlertDialog"
From GiderosMobile
(Created page with "__NOTOC__ '''Supported platforms:''' <br/> '''Available since:''' Gideros 2012.8<br/> === Description === <br /> The `AlertDialog` class is used to display native alert dialog...") |
|||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | '''Supported platforms:''' <br/> | + | '''Supported platforms:''' android, ios, mac, pc<br/> |
'''Available since:''' Gideros 2012.8<br/> | '''Available since:''' Gideros 2012.8<br/> | ||
=== Description === | === Description === | ||
Line 11: | Line 11: | ||
If alert dialog is dismissed by any other means (by pressing back button on Android or by pressing close button on desktop), it behaves as cancel button is pressed.<br /> | If alert dialog is dismissed by any other means (by pressing back button on Android or by pressing close button on desktop), it behaves as cancel button is pressed.<br /> | ||
<br /> | <br /> | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
{|- | {|- | ||
| style="width: 50%;"| | | style="width: 50%;"| | ||
=== Methods === | === Methods === | ||
+ | [[AlertDialog.new]] - <br/> | ||
+ | [[AlertDialog:hide]] - <br/> | ||
+ | [[AlertDialog:show]] - <br/> | ||
| style="width: 50%;"| | | style="width: 50%;"| | ||
=== Events === | === Events === | ||
+ | [[Event.COMPLETE]] | ||
=== Constants === | === Constants === | ||
|} | |} |
Revision as of 08:56, 23 August 2018
Supported platforms: android, ios, mac, pc
Available since: Gideros 2012.8
Description
The `AlertDialog` class is used to display native alert dialogs with one, two or three buttons. Cancel button
is mandatory but other two buttons are optional. When the user presses any button in the alert dialog,
it's dismissed and `Event.COMPLETE` event is dispatched.
If alert dialog is dismissed by any other means (by pressing back button on Android or by pressing close button on desktop), it behaves as cancel button is pressed.
Methods |
EventsConstants |