touch-dnd
TypeScript icon, indicating that this package has built-in type declarations

1.2.1 • Public • Published

touch-dnd

Advanced touch-compatible Drag'n'Drop library providing Draggable, Droppable and Sortable for Zepto.js and jQuery (for Zepto, you have to include its data module).

NPM

Status: Tested with current version of Chrome (Mac & Android), Safari (Mac & iOS), Opera Next, Firefox and IE
Documentation: ma.rkusa.st/touch-dnd

Why?

This library is a derivative of zepto-dnd, which reached the limits of the native HTML5 Drag'n'Drop API, especially in terms of dragging helper accessibility and - most important - in terms of compatiblity with touch devices.

Features

  • Draggable, Droppable & Sortable
  • touch compatibility
  • utilizes CSS3 transform and transition property for moving draggables around
  • Zepto.js compatibility

MIT License

Copyright (c) 2013-2018 Markus Ast

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Package Sidebar

Install

npm i touch-dnd

Weekly Downloads

221

Version

1.2.1

License

none

Unpacked Size

89.4 kB

Total Files

8

Last publish

Collaborators

  • rkusa