[TIMOB-19663] Windows: Missing .apiName properties
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | None |
Status | Closed |
Resolution | Done |
Resolution Date | 2016-05-10T08:56:52.000+0000 |
Affected Version/s | Release 5.0.2 |
Fix Version/s | Release 5.2.0 |
Components | Windows |
Labels | n/a |
Reporter | Fokke Zandbergen |
Assignee | Kota Iguchi |
Created | 2015-10-02T13:36:14.000+0000 |
Updated | 2016-05-10T08:56:58.000+0000 |
Description
The following sample shows that there's no
apiName
on Windows:
var win = Ti.UI.createWindow();
var label = Ti.UI.createLabel({
text: 'apiName: ' + win.apiName
});
win.add(label);
win.open();
Which will show:
{quote}apiName: undefined{quote}
https://github.com/appcelerator/titanium_mobile_windows/pull/465
How to Test
* Make sure all Titanium instance hasapiName
property and it returns appropriate name.Reopening as
apiName
should use theTi.*
namespace and notTitanium.*
See: * Reference: http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.View-property-apiName * iOS: https://github.com/appcelerator/titanium_mobile/blob/master/iphone/Classes/TiViewProxy.m#L68 * Android: https://github.com/appcelerator/titanium_mobile/blob/415bd6c66dcc55b1a59a59574f3babd3c3a84ede/android/modules/ui/src/java/ti/modules/titanium/ui/ViewProxy.java#L42Closing, we'll create new ticket for renaming "Ti" to "Titanium"