Skip to content

Instantly share code, notes, and snippets.

@atypical
Created November 22, 2011 20:53
Show Gist options
  • Save atypical/1386921 to your computer and use it in GitHub Desktop.
Save atypical/1386921 to your computer and use it in GitHub Desktop.
blah.js
var front = Ti.UI.createImageView({
backgroundImage: _args.data.image || '',
backgroundColor:"#000",
borderWidth:3,
borderColor:'#FFF',
top:0,
bottom:0,
left:0,
right:0,
zIndex:1,
borderRadius:_args.borderRadius || 0
});
front.addEventListener("load", function () {
Ti.API.info('img LOADED');
Ti.API.info('imgHeight: '+_args.data.image.height);
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment