在这里,是我的html追加HTML聚合物
<div id="setImgWrap">
<!-- Here append image will be show -->
</div>
我在这里从JS
this.addedImages = {
\t imageURL \t : \t self.downloadURL \t \t
};
this.$.setImgWrap.append('<iron-image src="' +[[this.addedImages.imageURL]] + '"></iron-image>');
附加我想告诉所有在浏览器上传图片,但是这在双引号中显示了整个标签。如何显示多个图像?
试试这个' ' –
我试过了工作,必须在append()中使用引号。否则显示错误。未捕获的SyntaxError:意外的令牌< –
检查我的答案 –