Gathering detailed insights and metrics for v-photoswipe-updated-btn-titles
Gathering detailed insights and metrics for v-photoswipe-updated-btn-titles
Gathering detailed insights and metrics for v-photoswipe-updated-btn-titles
Gathering detailed insights and metrics for v-photoswipe-updated-btn-titles
npm install v-photoswipe-updated-btn-titles
Typescript
Module System
Node Version
NPM Version
58.5
Supply Chain
97.9
Quality
74.8
Maintenance
50
Vulnerability
99.6
License
Vue (65.02%)
JavaScript (32.17%)
HTML (2.81%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
2 Stars
44 Commits
1 Watchers
14 Branches
2 Contributors
Updated on Jun 21, 2021
Latest Version
1.0.2
Package Id
v-photoswipe-updated-btn-titles@1.0.2
Unpacked Size
0.98 MB
Size
298.30 kB
File Count
22
NPM Version
6.10.3
Node Version
12.10.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
PhotoSwipe, PhotoSwipeGallery component for Vuejs base on PhotoSwipe.
This is the same exact library as v-photoswipe, but with English language button titles. v-photoswipe a perfectly functioning library, I just had to update the button titles by request from my client.
1 npm i v-photoswipe-updated-btn-titles
1<template> 2 <div> 3 <div class="paragraph"> 4 <h3>PhotoSwipe</h3> 5 <div> 6 <img @click="showPhotoSwipe(0)" src="https://farm4.staticflickr.com/3894/15008518202_c265dfa55f_h.jpg" alt=""> 7 <img @click="showPhotoSwipe(1)" src="https://farm4.staticflickr.com/3902/14985871946_24f47d4b53_h.jpg" alt=""> 8 </div> 9 </div> 10 <div class="paragraph"> 11 <h3>PhotoSwipe Gallery</h3> 12 <div> 13 <v-photoswipe-gallery :isOpen="isOpenGallery" :options="optionsGallery" :items="items"> 14 <img slot-scope="props" :src="props.item.src" alt="picture"/> 15 </v-photoswipe-gallery> 16 </div> 17 </div> 18 <v-photoswipe :isOpen="isOpen" :items="items" :options="options" @close="hidePhotoSwipe"></v-photoswipe> 19 </div> 20</template>
1import { PhotoSwipe, PhotoSwipeGallery } from 'v-photoswipe' 2export default { 3 components: { 4 'v-photoswipe': PhotoSwipe, 5 'v-photoswipe-gallery': PhotoSwipeGallery 6 }, 7 data () { 8 return { 9 isOpen: false, 10 isOpenGallery: false, 11 options: { 12 index: 0 13 }, 14 optionsGallery: {}, 15 items: [ 16 { 17 src: 'https://farm4.staticflickr.com/3894/15008518202_c265dfa55f_h.jpg', 18 w: 1600, 19 h: 1600, 20 title: 'This is dummy caption.' 21 }, { 22 src: 'https://farm4.staticflickr.com/3902/14985871946_24f47d4b53_h.jpg', 23 w: 1600, 24 h: 1066, 25 title: 'This is dummy caption. It has been placed here solely to demonstrate the look and feel of finished, typeset text.' 26 } 27 ] 28 } 29 }, 30 methods: { 31 showPhotoSwipe (index) { 32 this.isOpen = true 33 this.$set(this.options, 'index', index) 34 }, 35 hidePhotoSwipe () { 36 this.isOpen = false 37 } 38 } 39}
Name | Type | Default | Required | Description |
---|---|---|---|---|
isOpen | Boolean | false | true | |
items | Array | [] | true | Document |
options | Object | {} | fasle | Document |
beforeChange | Function | Photoswipe event listener | ||
afterChange | Function | Photoswipe event listener | ||
imageLoadComplete | Function | Photoswipe event listener | ||
resize | Function | Photoswipe event listener | ||
gettingData | Function | Photoswipe event listener | ||
mouseUsed | Function | Photoswipe event listener | ||
initialZoomIn | Function | Photoswipe event listener | ||
initialZoomInEnd | Function | Photoswipe event listener | ||
initialZoomOut | Function | Photoswipe event listener | ||
initialZoomOutEnd | Function | Photoswipe event listener | ||
parseVerticalMargin | Function | Photoswipe event listener | ||
close | Function | Photoswipe event listener | ||
unbindEvents | Function | Photoswipe event listener | ||
destroy | Function | Photoswipe event listener | ||
updateScrollOffset | Function | Photoswipe event listener | ||
preventDragEvent | Function | Photoswipe event listener | ||
shareLinkClick | Function | Photoswipe event listener |
Name | Type | Default | Required | Description |
---|---|---|---|---|
item | Object | HTML Img Tag | false |
coming soon...
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 0/12 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
87 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More