Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Displaying images from 366 rows
Message
 
 
General information
Forum:
ASP.NET
Category:
Client-side development
Environment versions
Environment:
C# 5.0
OS:
Windows 10
Database:
MS SQL Server
Miscellaneous
Thread ID:
01648886
Message ID:
01649040
Views:
19
>>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform