@sergiosmail wrote:
Hi guys
Surely I’m doing something right, but I hope you can help me with it. My source code looks like:
<img style="position: absolute; left: {{imageInfo.left}}px; top: {{imageInfo.top}}px;" [src]="imageInfo.strBase64Image">
Basically I was hoping that I can setup image absolute control X,Y position on view. But when I run inspector I see:
sanitizing unsafe style value position: absolute; left: 200px; top: 300px; (see http://g.co/ng/security#xss).v
Could you help me to understand what is wrong in my statement? Also it would be nice if you can recommend a good reading/article to understand how it works (in general) about supplying component variables to interface.
Posts: 1
Participants: 1