[TIMOB-143] add support for image repaint when an image is loaded dynamically in a view
| GitHub Issue | n/a | 
|---|---|
| Type | Bug | 
| Priority | Medium | 
| Status | Closed | 
| Resolution | Invalid | 
| Resolution Date | 2011-04-15T02:24:17.000+0000 | 
| Affected Version/s | n/a | 
| Fix Version/s | Release 0.7.0 | 
| Components | iOS | 
| Labels | layout, view | 
| Reporter | Jeff Haynie | 
| Assignee | Blain Hamon | 
| Created | 2011-04-15T02:24:17.000+0000 | 
| Updated | 2017-03-02T18:22:13.000+0000 | 
Description
here is snippet of code that should support dynamic image reloading invoking new repaint API.
@@@javascript
var handler = function(e)
{
    if (e.srcElement.tagName == "IMG")
    {
                  Titanium.UI.currentWindow.repaint();
                  return;
    }
};  
document.body.addEventListener('load', handler, true);
@@@@
Duplicate of #141
Closing as invalid.