angular2 and window.URL.createObjectURL

前端 未结 1 397
小蘑菇
小蘑菇 2021-01-19 03:17

I use window.URL.createObjectURL to create a blob:http link for previewing selected image in an img tag:


相关标签:
1条回答
  • 2021-01-19 03:28

    You could just try what error is trying to say. what it said is you have to use property [] binding instead of interpolation {{}} with attribute.

    [src]="itemPhoto"
    
    0 讨论(0)
提交回复
热议问题