[TIMOB-7170] MobileWeb: Complete Ti.UI.AlertDialog implementation
GitHub Issue | n/a |
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-02-08T15:31:23.000+0000 |
Affected Version/s | Release 2.0.0 |
Fix Version/s | Sprint 2012-03, Release 2.0.0, Release 1.8.2 |
Components | MobileWeb |
Labels | qe-port, stage, themeable |
Reporter | Chris Barber |
Assignee | Bryan Hughes |
Created | 2012-01-13T10:21:33.000+0000 |
Updated | 2012-08-27T17:40:54.000+0000 |
Description
Missing entire correct implementation. AlertDialog widgets allow an arbitrary number of buttons with their own labels. This means you could have a dialog with a "accept" and "reject" buttons. This is not possible in mobileweb using an alert() or confirm() dialog. Instead, we'll need a custom UI widget that mimics a modal dialog. By default, there's only an OK button.
Extends Evented.
Methods:
* hide()
* show()
Properties:
* buttonNames [stage]
* cancel
* message
* messageid
* ok
* okid
* title
* titleid
Events:
* click
Update API docs with the supported methods, properties, and constants.
Attachments
File | Date | Size |
app.js | 2012-02-06T12:28:36.000+0000 | 1667 |
Pull Request: https://github.com/appcelerator/titanium_mobile/pull/1358
Verified fix on: Titanium studio : 2.1.1.201207271312 SDK version : 2.2.0.v20120824175712 Chrome 21.0.xx Firefox 14.0.1 Safari 6.0 Android 2.3.6 default browser Iphone 5.0.1 mobile safari