ImageViewer

For browsing multiple pictures and swiping to switch pictures

Import

import { ImageViewer } from  'mand-mobile-next'

Vue.createApp().component(ImageViewer.name, ImageViewer)

Code Examples

API

ImageViewer Props

PropsDescriptionTypeDefaultNote
visibleviewer displayBooleanfalse
listshow picture listArray<String>[]-
default-indexinitialize the index of displayed imageNumber0-
has-dotsdisplay the index of pictureBooleantrue-
deletableshow delete iconBooleanfalse-