【发布时间】:2018-06-01 15:29:39
【问题描述】:
我正在使用 angular2。
我想使用style="backgroound-image : url("the url from the cloudinary")"
page.html
<div>
<cl-image public-id = xyz.jpg>
<cl-image>
<div>
【问题讨论】:
我正在使用 angular2。
我想使用style="backgroound-image : url("the url from the cloudinary")"
page.html
<div>
<cl-image public-id = xyz.jpg>
<cl-image>
<div>
【问题讨论】:
您可以通过 URL 操作来实现这一点,例如在您的 css/scss 文件中使用:
background-image: url('path-to-cloudinary-image')
【讨论】: