More Premium Hugo Themes Premium Tailwind Themes

Svelte Sortablejs

Svelte wrapper for SortableJS

Svelte Sortablejs

Svelte wrapper for SortableJS

Author Avatar Theme by jhubbardsf
Github Stars Github Stars: 76
Last Commit Last Commit: May 25, 2022 -
First Commit Created: Dec 18, 2023 -
default image

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.