1.0.17 • Published 2 years ago

vue-previewimg-cm v1.0.17

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

vue-preview-cm

A Vue.js project

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

安装方法

params

title: '' // 传入插件的显示左上角的名称 
lstImg: [] // 存入图片路径
showbtn: 1, // 是否显示图片操作按钮 放大 缩小 旋转 1:默认显示  -1:不显示
autoplay: false, // 是否自动播放
initialIndex: 0, // 默认显示第几张图片
show () // 调用的方法

使用

<previewImage ref="previewImg"></previewImage>

example

 let params = {
  title: '图片标题',
  lstImg: ['图片路径']
}
this.$refs.previewImg.show(params) 

For detailed explanation on how things work, consult the docs for vue-loader.

1.0.17

2 years ago

1.0.16

3 years ago

1.0.15

3 years ago

1.0.14

3 years ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago