solid-sortable
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

solid-sortable

solid-sortable

pnpm

drag and drop lists for SolidJS

currently undergoing rapid development, so I wouldn't reccomend using it for production

Quick start

Use it:

import { Sortable } from "solid-sortable";

Add to project to use drag handle directive in typescript:

declare module "solid-js" {
  namespace JSX {
    interface Directives {
      sortableHandle: boolean;
    }
  }
}

Obligatory Feature List

  • animations
  • custom layouts
  • autoscroll
  • drag from one list to another
  • data-driven, reactive API
  • specify drag handle (custom directive)

Readme

Keywords

Package Sidebar

Install

npm i solid-sortable

Weekly Downloads

2

Version

0.1.0

License

MIT

Unpacked Size

106 kB

Total Files

8

Last publish

Collaborators

  • wgaboury