pic-viewer
Advanced tools
Comparing version 0.8.0 to 0.8.1
{ | ||
"name": "pic-viewer", | ||
"pascalCasedName": "PicViewer", | ||
"version": "0.8.0", | ||
"version": "0.8.1", | ||
"private": false, | ||
@@ -6,0 +6,0 @@ "description": "Picture viewer.", |
@@ -22,5 +22,5 @@ <h1 align="center"> | ||
- [viewerjs](https://github.com/fengyuanchen/viewerjs) + [swiper](https://swiperjs.com) + [qrcode](https://github.com/soldair/node-qrcode) 组合拳 | ||
- 展示形式: 支持 文档流、自适应瀑布流、轮播图、嵌套在表格内(兼容 `el-table`) | ||
- 展示形式: 支持 文档流、自适应瀑布流、轮播图、嵌套在表格内 | ||
- 数据格式: 支持 URL、Base64、二维码、object URL | ||
- 数据类型: 支持 string、JSON string、object、string[]、object[] | ||
- 数据类型: 支持 string、JSON string、object、any[] | ||
- 局部注册 + 局部传参,也可以全局注册 + 全局传参([vue-global-config](https://github.com/cloydlau/vue-global-config) 提供技术支持) | ||
@@ -141,3 +141,3 @@ | ||
| 参数名 | 说明 | 类型 | 默认值 | | ||
| 名称 | 说明 | 类型 | 默认值 | | ||
| ------------- | ------------------------------------------------- | -------------------------- | ------------------------------------------------------------------- | | ||
@@ -170,5 +170,5 @@ | value | 绑定值 | string, string[], object[] | | | ||
| 名称 | 说明 | 参数 | | ||
| ----- | -------------- | -------------------------------- | | ||
| click | 点击图片后触发 | `{ src: string, index: number }` | | ||
| 名称 | 说明 | 回调参数 | | ||
| ----- | -------------- | ------------------------------ | | ||
| click | 点击图片后触发 | `(src: string, index: number)` | | ||
@@ -175,0 +175,0 @@ <br> |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
2434456
8267