Javascript properties
From John Freier
Revision as of 14:06, 12 December 2013 by Jfreier (Talk | contribs) (Created page with 'List all the properties of a Titanium Javascript element. for(var prop in e) { if ((typeof e)=="function") { Ti.API.log(prop + ":function"); …')
List all the properties of a Titanium Javascript element.
for(var prop in e) { if ((typeof e)=="function") { Ti.API.log(prop + ":function"); } else { Ti.API.log(prop + ":" + e[prop]); } }