阅读背景:

如果angular属性为空,则隐藏元素

来源:互联网 

I have an image element that is getting its path from an attribute I have on my angular object. However if this (imagePath) is empty I get a broken image. I would like to not render the image if the attribute is empty however I do not see a way to do this. Any ideas?I have an image element that is getting its pat




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: