A image preview component to prevent downloading pictures
Property | Description | Type | Default |
---|---|---|---|
mode | 当前组件模式 | string: single | multiple | single |
width | 宽 | number | 500 |
height | 高 | number | 500 |
loadingText | 加载时提示文字 | string | |
errorText | 加载图片出错时提示文字 | string | |
watermarkText | 水印 | string | |
allowWheelScale | 是否允许滚轮缩放 | boolean | false |
fileList | 文件列表 | array |
https://github.com/martinfcd2/Image-Previewer/tree/master