A Simple Vue Drag Selector Component Library

Drag-Selector is a Vue.js component that allows the visitor to select multiple items by dragging with the mouse.

drag select javascript, npm drag to select, react native drag and select, vue js drag to select, react table drag select

How to make use of it:


npm i vue-drag-selector
// main.js
import VueDragSelector from "vue-drag-selector";


        <drag-selector v-model="checkedList"
                       @change="handleDragSelectorChange" class="drag-selector">
            <drag-selector-item v-for="(item, index) in myDragList"
                                :key="index" class="drag-selector__item">
                {{ item }}
        {{ checkedList }}
  export default {
    name: "app",
    data() {
      return {
        checkedList: [],
        myDragList: [
          { a: 1, b: 5 },
          { a: 2, b: 6 },
          { a: 3, b: 7 }
    methods: {
      handleDragSelectorChange(checkedList) {

drag to select component, Vue-Drag-Selector Plugin/Github

See Demo And Download

Official Website(xubaifuCode): Click Here

This superior jQuery/javascript plugin is developed by xubaifuCode. For extra advanced usage, please go to the official website.

Related Posts


Convert An HTML File Input Type Into a Fancy File Uploader

jQuery Fancy File Uploader is a jQuery extension for converting an HTML file input type into a portable fancy file uploader. Choose from an MIT or LGPL…


Create Side Sliders Input Values Using Mouse Drag | Pointer Lock

HTML Range Slider is a lightweight library to create side sliders to adjust values easily and precisely by making use of the Pointer Lock API. Side Slider…


Smooth and Lightweight Parallax Scroll Library in Pure Javascript

Lightweight and seamless parallax scrolling library implemented in pure javascript using hardware acceleration for additional performance. Main Features Extremely lightweight with no dependencies A few kilobytes of pure…


How to Convert Form Data to JSON with HTML Forms | FormsJS

FormsJS is a simple-to-use JavaScript library that covers type subject values to JSON in real time. The items containing the data category will be analyzed automatically. It…


A Small jQuery Extension to Convert An Editable HTML Table

Editable Table is a small jQuery extension to convert an editable HTML table for fast data entry and validation. A small jQuery extension to convert a static…


Simple jQuery Plugin for Embedding YouTube Videos As Cover Background

jquery.youtube-background is a jQuery plugin built to facilitate YouTube embeds as cover wallpaper using the YouTube Embed API. There is another jQuery Youtube Video Background plugin that…