{"_id":"simple-photoswipe","_rev":"46-1f42abd18906d99f9e7e341ce6896048","name":"simple-photoswipe","dist-tags":{"latest":"1.2.1"},"versions":{"1.2.0":{"name":"simple-photoswipe","version":"1.2.0","description":"A Vue integration PhotoSwipe image preview plugin","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["vue","photoswipe","vue-photoswipe","js","vue-simple-photoswipe"],"author":{"name":"hj"},"license":"MIT","dependencies":{},"devDependencies":{"babel-core":"^6.26.0","babel-loader":"^7.1.2","babel-preset-stage-2":"^6.24.1","vue":"^2.5.4","vue-template-compiler":"^2.5.4"},"repository":{"type":"git","url":"git+https://github.com/a306916069/vue-simple-photoswipe.git"},"bugs":{"url":"https://github.com/a306916069/vue-simple-photoswipe/issues"},"homepage":"https://github.com/a306916069/vue-simple-photoswipe#readme","_id":"simple-photoswipe@1.2.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"hjproject","email":"5263954@qq.com"},"dist":{"integrity":"sha512-zUB/bEZQGVBbZjXjARyzR95LGf60fiSaYsn1ZrGA/ArMzMp9Jy5EdEPg0hI+ePFXPSeFMK8EEy7AQAfeWJaDTA==","shasum":"4ff8a87110964da0ccb8601a7cfc800dd6214a18","tarball":"https://registry.npmjs.org/simple-photoswipe/-/simple-photoswipe-1.2.0.tgz","fileCount":14,"unpackedSize":76958,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4/wHCRA9TVsSAnZWagAAUXoQAJy526Ql+x8n+BEiSqDJ\nzohByUHADVT8wZq7G0cYY6NHFKYvJpz0v3fcnNAYzIIHdH1z3yv1JCiXJUC4\nkKjhKIeF+eYLoLHdEXM6Bvz7TVxNAKMrZKA/MG35t4VxkWPdEtUoeccpNxxA\nJ8AFilC5D4eVfhZJVuHCSsnPtUbuSftXfbEtlU2frUv/o63GRcNGfH66WeA9\n+mowmzOrlP2fwiOATgPQZyMTz9WGSjtD9QSr8YeE3nV2Vm1Iws3ijScGiRdt\nyE82L4idz0Srpn4A2IxA6ZmWss4Vo3QcNBtg97A85rC/XS0AhwXMtBcZCbMR\n/Q++hePFZ6Z8St2oo50zc1w2OTAVggxZStDQ2khZ5Mfw/SDiLMnol02P7PiN\n1VR3gSjsLa8kXXj5UsdOaIldO/rIbb3f6erLdfeXblx+YeDmeI7Y5VLGzjdt\n7cI36a1SpP1cNFq3uOQhrfMl6YP2bIHd5B+OBpkFcOsNro+v9YZw/1U3h64y\nB7R2OGvM3ULw0AsGSY+5xWQi7Kp/HxQGQQsBsR2ZUFEtYFERvJAJJ5trTasK\nYq1Y7B0JnoEdRipwCTgEfF/PFK+7AmpoxGvcAuWxewpvtwDhDHua+yMPSrKI\nR6vZVyLjXhV9hem9ot8odtQQpu0uotCLhc3EFSeimBK13AWLzWjDKTaUZngX\nA57F\r\n=1lhM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCrM4mOJdMwsO+XdeEF+6OFk88NawUWYlAHIPqsXxuihgIhAK9OF7/LAp25eS6wiDV00arwFtydcwZpJ8M/wDnQDH3H"}]},"maintainers":[{"name":"hjproject","email":"5263954@qq.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/simple-photoswipe_1.2.0_1541667847375_0.7794187353405855"},"_hasShrinkwrap":false},"1.2.1":{"name":"simple-photoswipe","version":"1.2.1","description":"A Vue integration PhotoSwipe image preview plugin","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"keywords":["vue","photoswipe","vue-photoswipe","js","vue-simple-photoswipe"],"author":{"name":"hj"},"license":"MIT","dependencies":{},"devDependencies":{"babel-core":"^6.26.0","babel-loader":"^7.1.2","babel-preset-stage-2":"^6.24.1","vue":"^2.5.4","vue-template-compiler":"^2.5.4"},"repository":{"type":"git","url":"git+https://github.com/a306916069/vue-simple-photoswipe.git"},"bugs":{"url":"https://github.com/a306916069/vue-simple-photoswipe/issues"},"homepage":"https://github.com/a306916069/vue-simple-photoswipe#readme","_id":"simple-photoswipe@1.2.1","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"hjproject","email":"5263954@qq.com"},"dist":{"integrity":"sha512-2ZXbRZj2uuqjYrOkgm46rX20OjMqM2s1FtHbDGs/FJjUTtouXKTJ+yWw58+0DYRo5jyPssfj5ibGYCvJTQTEug==","shasum":"d361c7fd0c1f956b721f800c90b5d59515989e66","tarball":"https://registry.npmjs.org/simple-photoswipe/-/simple-photoswipe-1.2.1.tgz","fileCount":14,"unpackedSize":77318,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcOZglCRA9TVsSAnZWagAAemMP/0Gbzlpy/XjQb/0RM64s\nwyQ/MAFokC73vnPj93NnDAv41/qBfOUxLn9pYkvwZ0k0wsXCVp3bPExU9mNB\nYXASUkVYE5EDKVVfHaYo9Q+lCEx7hCduh0EYy+aLBpoVCGGzcw8ibphxAgra\nWi920lBfaumCmdxh2OWLgSAcXDvcFhpsQZhxEtav/okNMAdgEhdz0limq+hi\nphDEKKiPIKECdocLGpNce1MUFy1UB7Ari/Pdl0HL9Kvr5KiF6Xw7eVXIqcvF\nB2uKWDK1aRnZ7QGjr1ZJ8vpy8cRwy6ynLrUgf8LQ+RoiLnFVeoZU7KtR+h1m\nZfBfCjzP/a6Y1eWgkhShnt8c6P5XZBQYi742hpwthvSmbKniROmapyHgSWQZ\nWi7BXqQdS1nUq1fadxzwOJbiYkWg8xXZeL3D0t+cTKEzuwya1ToM3BQGbD01\nbBGDEcvLM7xSWaSCVnsLpbUMC+d6Zf9Hwc1XCBu8H9VF76zIlrw1sFv1wEI4\nTWzDT6vHLKYbqniIdc7cVyiB1n8skWYuARnwA7JxPODNQhYA946ZyoEczoLq\naSzLjpPJyly6TNGxNm7Xw/VpB4CRAnNo9fraoPcyl+NlqkTDZXl7QkD+7oRI\nIsQGzfmOkPZIvw8q1FAqRn+KHeyio4fEoxI88P88DiI5y/J+jat1nUb1lKCy\nOLSn\r\n=Ei1v\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB/fwU8rDlpk7SHbjvfiI1qNPFnvsxe6irmOqI4ArCjBAiAZNxcYHnxzNu24jwQNzH9q1VEswEpMJu9i2FJJnVvAxQ=="}]},"maintainers":[{"name":"hjproject","email":"5263954@qq.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/simple-photoswipe_1.2.1_1547278373226_0.09125718783070735"},"_hasShrinkwrap":false}},"time":{"created":"2018-11-06T03:46:47.411Z","0.0.3":"2018-11-06T03:46:47.562Z","modified":"2022-05-17T21:33:26.278Z","0.0.4":"2018-11-06T04:30:04.925Z","0.0.5":"2018-11-06T06:20:51.784Z","0.0.6":"2018-11-06T06:42:27.902Z","0.0.7":"2018-11-06T07:50:53.590Z","0.0.8":"2018-11-06T08:41:49.654Z","0.0.9":"2018-11-06T08:48:59.559Z","0.0.10":"2018-11-06T09:25:15.843Z","1.0.0":"2018-11-06T09:36:53.470Z","1.0.1":"2018-11-08T02:50:50.235Z","1.0.2":"2018-11-08T02:51:26.821Z","1.0.3":"2018-11-08T03:30:04.030Z","1.0.4":"2018-11-08T03:35:07.497Z","1.0.5":"2018-11-08T03:41:04.858Z","1.0.6":"2018-11-08T05:00:18.026Z","1.0.7":"2018-11-08T05:41:58.151Z","1.0.8":"2018-11-08T05:48:42.287Z","1.0.9":"2018-11-08T05:57:50.383Z","1.0.10":"2018-11-08T06:04:07.277Z","1.0.11":"2018-11-08T06:25:13.436Z","1.0.12":"2018-11-08T06:34:46.933Z","1.0.13":"2018-11-08T08:14:22.412Z","1.2.0":"2018-11-08T09:04:07.521Z","1.2.1":"2019-01-12T07:32:53.344Z"},"maintainers":[{"name":"hjproject","email":"5263954@qq.com"}],"description":"A Vue integration PhotoSwipe image preview plugin","homepage":"https://github.com/a306916069/vue-simple-photoswipe#readme","keywords":["vue","photoswipe","vue-photoswipe","js","vue-simple-photoswipe"],"repository":{"type":"git","url":"git+https://github.com/a306916069/vue-simple-photoswipe.git"},"author":{"name":"hj"},"bugs":{"url":"https://github.com/a306916069/vue-simple-photoswipe/issues"},"license":"MIT","readme":"## simple-photoswipe\n```\nA Vue Integrated PhotoSwipe Image Preview Plugin\n```\n## Installation\n```\nnpm install simple-photoswipe --save \n```\n```js\n//main.js\nimport simplePhotoswipe from 'simple-photoswipe'\nVue.use(simplePhotoswipe)\n```\n\nBut you can also import the standalone component to add locally or for more complex installations.\n\n```js\n// photoswipe.vue\nimport { simplePhotoswipe } from 'simple-photoswipe'\nexport default {\n  components: {\n    simplePhotoswipe\n  }\n}\n```\n## Methods \n```html\n<simple-photoswipe :slides=\"slides\" :options=\"options\" @close=\"close\" @afterChange=\"afterChange\" @beforeChange=\"beforeChange\" @destroy=\"destroy\" ref=\"simplePhotoswipe\"></simple-photoswipe>\n...\n<script>\n...\n  data() {\n    return {\n      slides:[\n          {\n            src: 'https://img.zcool.cn/community/01ff2059770a25a8012193a37c7695.jpg@1280w_1l_2o_100sh.jpg',\n            msrc:'https://img.zcool.cn/community/01ff2059770a25a8012193a37c7695.jpg@1280w_1l_2o_100sh.jpg',\n            w: 964,\n            h: 1024\n          },\n          {\n            src: 'https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1541502380130&di=9126f8939434001d6536c9d32bacffcb&imgtype=0&src=http%3A%2F%2Ftvax4.sinaimg.cn%2Fcrop.0.0.996.996.1024%2F006HxkHbly8flgt44j5rij30ro0rpacl.jpg',\n            msrc: 'https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1541502380130&di=9126f8939434001d6536c9d32bacffcb&imgtype=0&src=http%3A%2F%2Ftvax4.sinaimg.cn%2Fcrop.0.0.996.996.1024%2F006HxkHbly8flgt44j5rij30ro0rpacl.jpg',\n            w: 964,\n            h: 1024\n          }\n      ],\n    }\n  },\n  \n  methods: {\n    close(){\n      console.log('close event')\n    },\n    afterChange(){\n      console.log('afterChange event')\n    },\n    beforeChange(){\n      console.log('beforeChange event')\n    },\n    destroy(){\n      console.log('destroy event')\n    }\n  },\n...\n</script>\n```\n## API document\n\n[photoswipe docs](http://photoswipe.com/documentation/getting-started.html)\n\n## Example App\nI have created a simple Vue 2 webpack application as an example/playground\nhttps://github.com/a306916069/vue-simple-photoswipe.git\n","readmeFilename":"README.md"}