mand-mobile/components/image-viewer
xuxiaoyan ec88e6f701 doc:add a version number identifier for new features 2018-06-28 00:21:08 +08:00
..
demo site&example:add default title to examples & update docs 2018-06-21 11:34:49 +08:00
test feat(image-viewer): Add v-model support[#42] 2018-05-04 16:43:30 +08:00
README.en-US.md doc:add a version number identifier for new features 2018-06-28 00:21:08 +08:00
README.md doc:add a version number identifier for new features 2018-06-28 00:21:08 +08:00
component.js Initial commit 2018-03-26 16:04:04 +08:00
index.vue fix(style):remove rem in source code 2018-05-09 14:17:22 +08:00

README.en-US.md

title preview
ImageViewer https://didi.github.io/mand-mobile/examples/#/image-viewer

For browsing multiple pictures and swiping to switch pictures

Import

import { ImageViewer } from 'mand-mobile'

Vue.component(ImageViewer.name, ImageViewer)

Code Examples

API

ImageViewer Props

Props Description Type Default Note
v-model1.1.0+ viewer display Boolean false
list show picture list Array [] -
initial-index initialize the index of displayed image Number 0 -
has-dots display the index of picture Boolean true -