# sortablejs-stiffghost

> JavaScript library for reorderable drag-and-drop lists on modern browsers and touch devices. No jQuery required. Supports Meteor, AngularJS, React, Polymer, Vue, Knockout and any CSS library, e.g. Bootstrap.

Latest version **1.15.1** (published 2023-08-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install sortablejs-stiffghost
pnpm add sortablejs-stiffghost
yarn add sortablejs-stiffghost
bun add sortablejs-stiffghost
```

## Health

**Score 35/100 (D)** — status: abandoned.

Positive: esm support; no vulnerabilities; popular repo.

Warnings: low downloads; no types.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.15.1 |
| Published | 2023-08-03 |
| First published | 2023-08-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 512.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 31179 |
| Maintainers | lipaji |
| Keywords | sortable, reorder, drag, meteor, angular, ng-sortable, react, vue, mixin |

## Links

- npm: https://www.npmjs.com/package/sortablejs-stiffghost
- Repository: https://github.com/SortableJS/Sortable
- Homepage: https://github.com/SortableJS/Sortable#readme
- Issues: https://github.com/SortableJS/Sortable/issues
- npm.io page: https://npm.io/package/sortablejs-stiffghost

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.15.1 (latest) — 2023-08-03
- 1.15.0 — 2023-08-03

## README

# sortablejs-stiffghost

sortablejs-stiffghost 是[sortablejs](https://sortablejs.github.io/Sortable/)的分支，仅增加`stiffGhost`参数，其他用法请参考官方文档

### Getting Started

Install with NPM:
```bash
npm i sortablejs-stiffghost
```

Import into your project:
```js
import SortableStiffghost from 'sortablejs-stiffghost';
```

---


### Usage
```html
<ul id="items">
	<li>item 1</li>
	<li>item 2</li>
	<li>item 3</li>
</ul>
```

```js
var el = document.getElementById('items');
new SortableStiffghost.create(el, {
	stiffGhost: true,
	forceFallback: true, // 这个参数必须要
});
```

---
_Source: https://npm.io/package/sortablejs-stiffghost · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
