vue-dragscroll is a micro vue.js directive that enables scrolling by pressing the mouse button “drag and drop” or “click and hold” style.
When using nochilddrag
, not all elements inside the parent will be draggable, but in some cases, you may need to have only one child and multiple grandchildren, and only the grandchild should not be draggable.
Must Read: An Unstyled Bootstrap HTML Template to Create Smooth Scrolling
How to make use of it:
Install and download:
npm install vue-dragscroll
Install globally (main.js).
import Vue from 'vue' import VueDragscroll from 'vue-dragscroll' Vue.use(VueDragscroll)
(or) Installation for a single component.
import { dragscroll } from 'vue-dragscroll' export default { directives: { dragscroll } }
See Also –
Angular JS Material Mat Table Vertical Scroll Plugin
Query Plugin To Make Bootstrap 4 Tabs Scroll Horizontally
See Demo And Download
Official Website(donmbelembe): Click Here
This superior jQuery/javascript plugin is developed by donmbelembe. For extra Advanced Usage, please go to the official website.