{"action":"created","issue":{"url":"https://api.github.com/repos/ORT-Interactive-GmbH/TiAdvancedNavWindow/issues/1","labels_url":"https://api.github.com/repos/ORT-Interactive-GmbH/TiAdvancedNavWindow/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/ORT-Interactive-GmbH/TiAdvancedNavWindow/issues/1/comments","events_url":"https://api.github.com/repos/ORT-Interactive-GmbH/TiAdvancedNavWindow/issues/1/events","html_url":"https://github.com/ORT-Interactive-GmbH/TiAdvancedNavWindow/issues/1","id":54488744,"number":1,"title":"A Quick Example describing the features of the Module","user":{"login":"yozef","id":287256,"avatar_url":"https://avatars.githubusercontent.com/u/287256?v=3","gravatar_id":"","url":"https://api.github.com/users/yozef","html_url":"https://github.com/yozef","followers_url":"https://api.github.com/users/yozef/followers","following_url":"https://api.github.com/users/yozef/following{/other_user}","gists_url":"https://api.github.com/users/yozef/gists{/gist_id}","starred_url":"https://api.github.com/users/yozef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yozef/subscriptions","organizations_url":"https://api.github.com/users/yozef/orgs","repos_url":"https://api.github.com/users/yozef/repos","events_url":"https://api.github.com/users/yozef/events{/privacy}","received_events_url":"https://api.github.com/users/yozef/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-15T18:55:56Z","updated_at":"2015-01-15T19:05:37Z","closed_at":null,"body":"```\r\nvar redWin = Titanium.UI.createWindow({\r\n    backgroundColor: 'red',\r\n    title: 'Red Window'\r\n});\r\n\r\nvar navWindow = Titanium.UI.iOS.createNavigationWindow({\r\n   window: redWin\r\n});\r\n\r\nvar blueWin = Titanium.UI.createWindow({\r\n    backgroundColor: 'blue',\r\n    title: 'Blue Window'\r\n});\r\n\r\nvar button = Titanium.UI.createButton({\r\n    title: 'Open Blue Window'\r\n});\r\nbutton.addEventListener('click', function(){\r\n    navWindow.openWindow(blueWin, {animated:true});\r\n    Ti.API.info(\"Num of Windows in Stack: \" + navWindow.numViewControllers);\r\n});\r\n\r\nredWin.add(button);\r\n\r\nvar navBarHidden = false;\r\nvar button2 = Titanium.UI.createButton({\r\n    title: 'Hide/Show Nav Bar'\r\n});\r\nbutton2.addEventListener('click', function(){\r\n    if (!navBarHidden) {\r\n        navWindow.hideNavBar();\r\n        blueWin.setStatusBarStyle(Titanium.UI.iPhone.StatusBar.LIGHT_CONTENT);\r\n        navBarHidden = true;\r\n    } else {\r\n        navWindow.showNavBar();\r\n        blueWin.setStatusBarStyle(Titanium.UI.iPhone.StatusBar.DEFAULT);\r\n        navBarHidden = false;\r\n    }\r\n});\r\nblueWin.add(button2);\r\n\r\nvar button3 = Titanium.UI.createButton({\r\n    title: 'Pop to Root', bottom: 100\r\n});\r\nbutton3.addEventListener('click', function(){\r\n    navWindow.popToRoot();\r\n});\r\nblueWin.add(button3);\r\n\r\nnavWindow.open();\r\n```"},"comment":{"url":"https://api.github.com/repos/ORT-Interactive-GmbH/TiAdvancedNavWindow/issues/comments/70141829","html_url":"https://github.com/ORT-Interactive-GmbH/TiAdvancedNavWindow/issues/1#issuecomment-70141829","issue_url":"https://api.github.com/repos/ORT-Interactive-GmbH/TiAdvancedNavWindow/issues/1","id":70141829,"user":{"login":"mpociot","id":804684,"avatar_url":"https://avatars.githubusercontent.com/u/804684?v=3","gravatar_id":"","url":"https://api.github.com/users/mpociot","html_url":"https://github.com/mpociot","followers_url":"https://api.github.com/users/mpociot/followers","following_url":"https://api.github.com/users/mpociot/following{/other_user}","gists_url":"https://api.github.com/users/mpociot/gists{/gist_id}","starred_url":"https://api.github.com/users/mpociot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpociot/subscriptions","organizations_url":"https://api.github.com/users/mpociot/orgs","repos_url":"https://api.github.com/users/mpociot/repos","events_url":"https://api.github.com/users/mpociot/events{/privacy}","received_events_url":"https://api.github.com/users/mpociot/received_events","type":"User","site_admin":false},"created_at":"2015-01-15T19:05:37Z","updated_at":"2015-01-15T19:05:37Z","body":"Great! \r\nThank you. \r\nCould you open a PR so I can merge your example code?"}}