{ "id": "85438", "key": "TIMOB-7482", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": null, "resolutiondate": null, "created": "2012-01-25T02:03:25.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "12580", "description": "Dual Runtime 1.8.0", "name": "Release 1.8.0.1", "archived": true, "released": true, "releaseDate": "2011-12-22" } ], "issuelinks": [], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2018-08-02T17:31:43.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10224", "name": "TiAPI", "description": "This component is used for cross-platform API work. Specifications are most likely to use this component." } ], "description": "h2. Request\r\n\r\nIt would be nice if \"children\", \"parent\" and \"listeners\" properties were standardized for all Titanium UI components.\r\n\r\nCurrently, there is no way to traverse through whole tree of Titanium component in some context (window), or through some part of the tree. \r\nI don't know why \"children\" is removed from some components, but I think that's a bad idea (ok, maybe there is some valid technical reason that I don't know).\r\n\r\nAlso, there is no way of knowing what event listeners where attached to particular component. \"listeners\" property existed once on Android (I think) but was removed.\r\n\r\nThis properties should be read-only.\r\n\r\nh2. Current Behavior / Workaround\r\n\r\nCurrently, a workaround is to write JS wrappers for Titanium components, but for new developers that is disappointing fact because this features are basic features in some other environments. Unfortunately, there is no framework (for Titanium framework) available that does that (yet).", "attachment": [], "flagged": false, "summary": "Ti.API: standardize children, parent and listeners properties", "creator": { "name": "ivan.skugor", "key": "ivan.skugor", "displayName": "Ivan Skugor", "active": true, "timeZone": "Europe/Amsterdam" }, "subtasks": [], "reporter": { "name": "ivan.skugor", "key": "ivan.skugor", "displayName": "Ivan Skugor", "active": true, "timeZone": "Europe/Amsterdam" }, "environment": "* iOS, Android", "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }