Releases: MelvinIdema/vue-dragtoscroll
Releases · MelvinIdema/vue-dragtoscroll
v1.1.0
VueDragToScroll now supports a v-directive used as followed:
<script setup>
import { dragToScroll: vDragToScroll } from "vue-dragtoscroll";
</scrpt>
<template>
<div v-drag-to-scroll class="container directive">
<div v-for="i in 20" :key="i" class="container-item" @click="!isDragging && showAlert(i)">
{{ i }}
</div>
</div>
</template>
This will immediately enable drag to scroll with the default settings.
Full Changelog: v1.0.0...v1.1
v1.0.0: Initial Release 🎉
I'm excited to introduce vue-dragtoscroll! this package is developed to make adding a drag-to-scroll functionality in Vue easier and acts as a personal learning experience.
🎯 Overview
vue-dragtoscroll is a lightweight, single-purpose package that enables you to implement drag-to-scroll with just one composable. Perfect for developers looking for a quick and efficient solution for adding intuitive scrolling without extra overhead.
Thank you for using vue-dragtoscroll! Let me know if there’s anything I can do to improve your experience.