Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-5683] MobileWeb: Add parent property to all UI elements

GitHub Issuen/a
TypeNew Feature
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2011-09-14T02:23:40.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.7.2
ComponentsMobileWeb
Labelsn/a
ReporterMaxim Negadaylov
AssigneeMisha Vasko
Created2011-08-17T01:13:32.000+0000
Updated2017-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(); });

Comments

  1. Lee Morris 2017-03-04

    Closing ticket due to MobileWeb no longer being supported.

JSON Source