Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

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.

— asked April 2nd 2010 by Adrian Kokobobo
  • android
  • api
  • documentation
  • iphone
  • mobile
0 Comments

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

    — answered April 2nd 2010 by Christian Sigl
    permalink
    0 Comments
  • I've added Ticket 706 to track it.

    It's a bug.

    — answered April 2nd 2010 by Don Thorp
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.