Titanium JIRA Archive
Appcelerator Community (AC)

[AC-5033] Titanium.UI.iOS.SplitWindow doesn't handle the "visible" event

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionNeeds more info
Resolution Date2017-06-23T18:26:20.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterAlberto Marcone
AssigneeShak Hossain
Created2017-06-16T14:02:20.000+0000
Updated2017-06-23T18:26:20.000+0000

Description

In the documentation it says that $.index.addEventListener('visible',function(e){ if (e.view == 'detail'){ e.button.title = "Master"; $.index.detailView.getWindow().leftNavButton = e.button; } else if (e.view == 'master'){ $.index.detailView.getWindow().leftNavButton = null; } }); I tried doing this: splitWin.addEventListener('visible', function(e) { }); but the event is not triggered. The main reason to catch this event is that right now I can't handle the splitwindow on an iphone, without showing both the master and the detail window.

Comments

  1. Sharif AbuDarda 2017-06-19

    Hello, Please share a full reproducible code or us to test. Thanks.

JSON Source