Gathering detailed insights and metrics for @amv-hub/amv-vue-slick
Gathering detailed insights and metrics for @amv-hub/amv-vue-slick
Gathering detailed insights and metrics for @amv-hub/amv-vue-slick
Gathering detailed insights and metrics for @amv-hub/amv-vue-slick
Vue component for Slick-carousel (http://kenwheeler.github.io/slick)
npm install @amv-hub/amv-vue-slick
Typescript
Module System
Node Version
NPM Version
Vue (81.64%)
JavaScript (16.69%)
Shell (1.67%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
615 Stars
88 Commits
109 Forks
17 Watchers
3 Branches
21 Contributors
Updated on Jul 01, 2025
Latest Version
1.0.0
Package Id
@amv-hub/amv-vue-slick@1.0.0
Unpacked Size
213.56 kB
Size
36.35 kB
File Count
9
NPM Version
6.14.11
Node Version
14.16.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
1
1
This package is no longer supported by its main contributor (@staskjs). If you would like to work on it, I will gladly add you as a collaborator. Please reach me on telegram @staskjs.
Supports only Vue >= 2
See official documentation here.
$ npm install vue-slick
NOTE: slick-carousel
official package appears to use jquery
as a dependency in package.json,
despite it would be more appropriate to use it as a peer dependency to avoid possibility of using multiple
versions of jquery. Be aware of that. When using webpack
you can solve this problem with aliases.
1import Slick from 'vue-slick'; 2 3new Vue({ 4 5 components: { Slick }, 6 7 data() { 8 return { 9 slickOptions: { 10 slidesToShow: 3, 11 // Any other options that can be got from plugin documentation 12 }, 13 }; 14 }, 15 16 // All slick methods can be used too, example here 17 methods: { 18 next() { 19 this.$refs.slick.next(); 20 }, 21 22 prev() { 23 this.$refs.slick.prev(); 24 }, 25 26 reInit() { 27 // Helpful if you have to deal with v-for to update dynamic lists 28 this.$nextTick(() => { 29 this.$refs.slick.reSlick(); 30 }); 31 }, 32 33 // Events listeners 34 handleAfterChange(event, slick, currentSlide) { 35 console.log('handleAfterChange', event, slick, currentSlide); 36 }, 37 handleBeforeChange(event, slick, currentSlide, nextSlide) { 38 console.log('handleBeforeChange', event, slick, currentSlide, nextSlide); 39 }, 40 handleBreakpoint(event, slick, breakpoint) { 41 console.log('handleBreakpoint', event, slick, breakpoint); 42 }, 43 handleDestroy(event, slick) { 44 console.log('handleDestroy', event, slick); 45 }, 46 handleEdge(event, slick, direction) { 47 console.log('handleEdge', event, slick, direction); 48 }, 49 handleInit(event, slick) { 50 console.log('handleInit', event, slick); 51 }, 52 handleReInit(event, slick) { 53 console.log('handleReInit', event, slick); 54 }, 55 handleSetPosition(event, slick) { 56 console.log('handleSetPosition', event, slick); 57 }, 58 handleSwipe(event, slick, direction) { 59 console.log('handleSwipe', event, slick, direction); 60 }, 61 handleLazyLoaded(event, slick, image, imageSource) { 62 console.log('handleLazyLoaded', event, slick, image, imageSource); 63 }, 64 handleLazeLoadError(event, slick, image, imageSource) { 65 console.log('handleLazeLoadError', event, slick, image, imageSource); 66 }, 67 }, 68});
1<slick 2 ref="slick" 3 :options="slickOptions" 4 @afterChange="handleAfterChange" 5 @beforeChange="handleBeforeChange" 6 @breakpoint="handleBreakpoint" 7 @destroy="handleDestroy" 8 @edge="handleEdge" 9 @init="handleInit" 10 @reInit="handleReInit" 11 @setPosition="handleSetPosition" 12 @swipe="handleSwipe" 13 @lazyLoaded="handleLazyLoaded" 14 @lazyLoadError="handleLazeLoadError"> 15 <a href="http://placehold.it/2000x1000"><img src="http://placehold.it/2000x1000" alt=""></a> 16 <a href="http://placehold.it/2000x1000"><img src="http://placehold.it/2000x1000" alt=""></a> 17 <a href="http://placehold.it/2000x1000"><img src="http://placehold.it/2000x1000" alt=""></a> 18 <a href="http://placehold.it/2000x1000"><img src="http://placehold.it/2000x1000" alt=""></a> 19 <a href="http://placehold.it/2000x1000"><img src="http://placehold.it/2000x1000" alt=""></a> 20</slick>
If you need, you can import slick styles too:
1// MyCarrousel.vue 2import 'slick-carousel/slick/slick.css';
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
Found 5/16 approved changesets -- score normalized to 3
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
license file not detected
Details
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
15 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