Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-146] add support for image repaint when an image is loaded dynamically in a view

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionInvalid
Resolution Date2011-04-15T02:24:19.000+0000
Affected Version/sn/a
Fix Version/sRelease 0.7.0
ComponentsiOS
Labelslayout, view
ReporterJeff Haynie
AssigneeBlain Hamon
Created2011-04-15T02:24:19.000+0000
Updated2017-03-02T18:23:37.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);

@@@@

Comments

  1. Blain Hamon 2011-04-15

    Duplicate of #141

  2. Lee Morris 2017-03-02

    Closing as invalid.

JSON Source