JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 9
  • Score
    100M100P100Q48861F
  • License MIT

A Vue.js project for viewing image

Package Exports

  • image-viewer-vue

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (image-viewer-vue) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

image-viewer-vue

A Vue.js project for viewing image

install

npm install image-viewer-vue --save

Props

Name Type Required Description Default
imgUrlList Array true image url list []
index String false Which image to show first '0'
title String false the image title '图片'

Methods

Name Description
closeImageViewer the callback for closing imageViewer