Svelte Sortablejs screenshot

Svelte Sortablejs

Author Avatar Theme by Jhubbardsf
Updated: 25 May 2022
76 Stars

Svelte wrapper for SortableJS

Categories

Overview

The Svelte SortableJS is an unofficial Svelte package that provides integration with the SortableJS library. This package allows developers to create sortable lists in their Svelte applications. It offers a range of optional parameters to customize the sorting behavior.

Features

  • Easy Installation: Can be installed with npm, pnpm, or yarn.
  • SortableList Component: Provides a SortableList component that can be used in Svelte files.
  • Customizable Parameters: Offers a variety of optional parameters to customize the sorting behavior.

Installation

To install the Svelte SortableJS package, use one of the following commands:

npm i -D @jhubbardsf/svelte-sortablejs

Import the SortableList component from the package in your Svelte file:

import { SortableList } from '@jhubbardsf/svelte-sortablejs';

Summary

The Svelte SortableJS is a helpful package for developers using Svelte to create sortable lists. It provides an easy installation process and a SortableList component that can be used in Svelte files. The package also offers customizable parameters to adjust the sorting behavior as needed.