functionality not documented
Hello, I've just started working with appcelerator however looking at the 2nd line of code on app.js of kitchensink i see Titanium.UI.setBackgroundColor('#000');
This function though is not documented on the Mobile API https://developer.appcelerator.com/apidoc/mobile/1.1/Titanium.UI
Is there something i'm missing?
Just wanted to know if there are other doc i should be looking at.
Thank you,
Adrian.
2 Answers
-
Accepted Answer
in titanium mobile you can code by changing object properties and by using getters/setters as well, so basically myView.backgroundColor = 'white' is equal to myView.setBackgroundColor('white'). this should work for all properties i think
-
I've added Ticket 706 to track it.
It's a bug.