Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Displaying images from 366 rows
Message
 
 
À
14/03/2017 09:28:24
Information générale
Forum:
ASP.NET
Catégorie:
Client-side développement
Versions des environnements
Environment:
C# 5.0
OS:
Windows 10
Database:
MS SQL Server
Divers
Thread ID:
01648886
Message ID:
01649040
Vues:
20
>>>Using 'ng-src' rather than 'src' might be enough. If not then I'd suggest pre-computing the value returned by your getImageData() method, storing that as an additional property of the dailyCodes model and using that property name as the ng-src.
>>
>>I think pre-computing sounds a better idea, so I'll add it to my view model and adjust the code to get it as a property instead.
>
>You should still use ng-src rather than src....... : https://docs.angularjs.org/api/ng/directive/ngSrc

Yes, definitely. I am keeping ng-src. I just think that using property will be quicker. I can also try using one way binding with ::
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform