|
||
---|---|---|
.. | ||
demo | ||
test | ||
README.en-US.md | ||
README.md | ||
component.js | ||
index.vue |
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-model | 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 |
- |