Hi,
I have a list using a template to show data from a store. Part of this data includes an image.
Initially a placeholder image is shown while the correct image is located via an ajax request.
What I would like to do is show a loading mask over each image while the request is loading the data.
How can I get a reference/el to the image on each row of the list, assuming that the image has been assigned an id?
Example template:
Using Sencha Touch 2.3.1.
Thanks.
I have a list using a template to show data from a store. Part of this data includes an image.
Initially a placeholder image is shown while the correct image is located via an ajax request.
What I would like to do is show a loading mask over each image while the request is loading the data.
How can I get a reference/el to the image on each row of the list, assuming that the image has been assigned an id?
Example template:
Code:
<img id="imgList" src="{defaultImageURL}" style="height:160px;vertical-align: top;">Using Sencha Touch 2.3.1.
Thanks.
Aucun commentaire:
Enregistrer un commentaire