lisagao-btn

This is a react component library which could help to generate sort, drag and drop for the specific elements, and it also supports Mobile Operation. This library provided a drag toggle <DragToogle /> to specify the draggable element and droppable elements, and set as sortable.

Usage no npm install needed!

<script type="module">
  import lisagaoBtn from 'https://cdn.skypack.dev/lisagao-btn';
</script>

README

react-to-dragdrop

This is a react component library which could help to generate sort, drag and drop for the specific elements, and it also supports Mobile Operation. This library provided a drag toggle <DragToogle /> to specify the draggable element and droppable elements, and set as sortable.

Install

npm i react-to-dragdrop -s
After install react-to-dragdrop, please check jquery and jquery-ui has been installed via the dependencies. If these libraries are not installed, please do as follows:
npm i jquery jquery-ui -s

Import

  import { DragToggle } from 'react-to-dragdrop';
  import 'react-kekkai/dist/index.css';

Except import the <DragToggle />, you also need import the css file.

<DragToggle> API Documentation