[AC-3339] test
GitHub Issue | n/a |
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2016-03-08T15:37:51.000+0000 |
Affected Version/s | Appcelerator Studio 4.5.0 |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Sharif AbuDarda |
Assignee | Shak Hossain |
Created | 2016-03-08T15:34:19.000+0000 |
Updated | 2016-03-08T15:37:51.000+0000 |
Description
Steps to Reproduce
Titanium.UI.setBackgroundColor('#000');
var win2 = Titanium.UI.createWindow({
backgroundColor : 'gray',
title : 'Gray Window'
});
var win1 = Titanium.UI.iOS.createNavigationWindow({
window : win2,
swipeToClose : false
});
var win3 = Titanium.UI.createWindow({
backgroundColor : 'blue',
title : 'Blue Window',
swipeToClose : true
});
var button = Titanium.UI.createButton({
title : 'Click here',
color : 'red',
});
win2.add(button);
button.addEventListener('click', function(e) {
Ti.API.info('Click event fired');
win1.openWindow(win3, {
animated : true
});
});
var button2 = Titanium.UI.createButton({
title : 'Click here',
color : 'red',
});
win3.add(button2);
button2.addEventListener('click', function(e) {
alert('Click event fired');
});
win1.open();
Actual Result
test
Expected Result
test
Attachments
No comments