在线图像作为组件的输入

时间:2019-04-07 15:10:54

标签: angular

我正在尝试使用https://www.npmjs.com/package/ngx-image-zoom,但在文档中却显示

"This plugin works with both URLs to images and in-line images (Data URI)." 

是什么意思? 例如-

  <ngx-image-zoom [thumbImage]=myThumbnail [fullImage]=myFullresImage></ngx-image-zoom>

我可以将myThumbnail作为url传递,但是内嵌图像的含义是什么,以及如何传递一个作为参数。

我的主要目标是给其缩略图宽度和高度调整大小,因为原始图像太大。

0 个答案:

没有答案