VueRollr is a lightweight plugin that allows you to add a mouseover gallery to your Vue.js project. Supported media now includes images and video.
npm i vuerollr
<template>
<div>
<VueRollr>
<img src="...">
<img src="...">
<img src="...">
<video loop autoplay muted>
<source src="...">
</video>
<img src="...">
<img src="...">
<img src="...">
</VueRollr>
</div>
</template>
<script>
import VueRollr from 'vuerollr'
export default {
components: {
VueRollr
}
}
</script>
<VueRollr
:breakpoint="530"
:speed="2000">
Author: japick
Live Demo: https://vuerollr.japick.io/
GitHub: https://github.com/japick/vuerollr
#vuejs #vue #javascript #vue-js