# DragSelectDoc
**Repository Path**: ovsexia/DragSelect-Doc-Cn
## Basic Information
- **Project Name**: DragSelectDoc
- **Description**: 简单的javascript拖动选择选中插件DragSelect文档说明,类似 window 系统文件拖动选择效果
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 13
- **Forks**: 8
- **Created**: 2019-11-17
- **Last Updated**: 2024-07-30
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
```
____ _____ __ __
/ __ \_________ _____ _/ ___/___ / /__ _____/ /_
/ / / / ___/ __ `/ __ `/\__ \/ _ \/ / _ \/ ___/ __/
/ /_/ / / / /_/ / /_/ /___/ / __/ / __/ /__/ /_
/_____/_/ \__,_/\__, //____/\___/_/\___/\___/\__/
/____/
```
[GitHub](https://github.com/ThibaultJanBeyer/DragSelect/) | [NPM](https://www.npmjs.com/package/dragselect) | [Project-Page](https://thibaultjanbeyer.github.io/DragSelect/)
[](https://travis-ci.com/ThibaultJanBeyer/DragSelect)   [](https://david-dm.org/ThibaultJanBeyer/DragSelect)
# DragSelect 
easily add a selection algorithm to your application/website.
# TOC
- [Project Page: Demo & Info](#project-page-demo--info)
- [Key-Features](#key-features)
- [Why?](#why)
- [Supporters](#supporters)
- [Installation](#installation)
- [Usage](#usage)
- [Properties](#properties)
- [Methods](#methods)
- [Classes](#classes)
# Project Page: Demo & Info
[https://thibaultjanbeyer.github.io/DragSelect/](https://thibaultjanbeyer.github.io/DragSelect/)
# Key-Features
- **No dependencies** [](https://david-dm.org/ThibaultJanBeyer/DragSelect)
- Accessibility (a11y)
- Add drag selection
- Use modifier keys to make multiple independent selections
- Choose which elements can be selected
- Great browser support, works even like a charm on IE10
- Lightweight, only 
- Popular:  on npm
- DragSelect was written with Performance in mind
- Supports SVG
- Supports mobile (touch interaction)
- Free & open source under MIT License
- Ease of use

# Why?
Because apparently there is nothing that does not require jquery out there yet.
This is better than https://jqueryui.com/selectable/ and has no dependencies.
We use it currently in a professional rich interface application where we have a file management system. The user can select files to organize them and change their metadata, with this plugin our users are able to select multiple files and perform batch/bulk-operations (applying changes to multiple files at once). We also started using it in production for a huge, graphical cloud hosting manager with a lot of active users. Users can select multiple servers, storages, etc. on an artboard to perform multi-operations, re-organize them or batch-delete. We’re running it since January 18' it’s super helpful and very stable, let’s keep it that way. I can easily think of dozens other possibilites this can be used for. I’m really keen to know how you use it in your projects, please let me know.
# Supporters
Thanks to:
|  | [You?](https://paypal.me/pools/c/8gF2a5szCP) |
|--- |--- |
|[BrowserStack](https://www.browserstack.com/) is an amazing testing service which helps testing the tool on various browsers. They support this open source projects by providing a [free account for open source projects](https://www.browserstack.com/open-source) to use their service! | Thank and support us by making a [Direct Donation](https://paypal.me/pools/c/8gF2a5szCP) (Donations are distributed with all project contributors proportionally. We are grateful for any amount) or [Get in touch](mailto:thibault.beyer@gmail.com) |
# Installation
## easy
Just [download the file](https://github.com/ThibaultJanBeyer/DragSelect/blob/master/docs/DragSelect.js) ([minified](https://github.com/ThibaultJanBeyer/DragSelect/blob/master/docs/ds.min.js)) and add it to your document:
```html
```
*Note: if you are using `
[documentation](https://thibaultjanbeyer.github.io/DragSelect/DragSelect.html)