mand-mobile/components/image-viewer
remote-star 65f8dacfe1 doc(readme): adjust the example path for each component in its readme doc. 2018-03-29 14:56:07 +08:00
..
demo Initial commit 2018-03-26 16:04:04 +08:00
test Initial commit 2018-03-26 16:04:04 +08:00
README.md doc(readme): adjust the example path for each component in its readme doc. 2018-03-29 14:56:07 +08:00
component.js Initial commit 2018-03-26 16:04:04 +08:00
index.vue Initial commit 2018-03-26 16:04:04 +08:00

README.md

title preview
ImageViewer 图片查看器 https://didi.github.io/mand-mobile/examples/#/image-viewer

用于浏览多张图片,并可对图片进行滑动切换

引入

import { ImageViewer } from 'mand-mobile'

Vue.component(ImageViewer.name, ImageViewer)

代码演示

API

ImageViewer Props

属性 说明 类型 默认值 备注
show 是否显示查看器 Boolean false -
list 展示图片列表 Array [] -
initial-index 初始索引值 Number 0 -
has-dots 是否展示图片索引值 Boolean true -