[TIMOB-5683] MobileWeb: Add parent property to all UI elements
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-09-14T02:23:40.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.7.2 |
Components | MobileWeb |
Labels | n/a |
Reporter | Maxim Negadaylov |
Assignee | Misha Vasko |
Created | 2011-08-17T01:13:32.000+0000 |
Updated | 2017-03-04T00:09:18.000+0000 |
Description
In kitchen Sink I found undocumented property 'parent', which, as I see, must be a pointer to framework parent element.
We have property _parent which is equal to what we need, but it is private.
sw.addEventListener('change', function(e)
{
Ti.API.info('parent for switch ' + e.source.parent);
clickLabel.text = 'Switch changed to ' + e.value + ' at ' + new Date();
});
Closing ticket due to MobileWeb no longer being supported.