sortablejs-stiffghost

1.15.1 • Public • Published

sortablejs-stiffghost

sortablejs-stiffghost 是sortablejs的分支,仅增加stiffGhost参数,其他用法请参考官方文档

Getting Started

Install with NPM:

npm i sortablejs-stiffghost

Import into your project:

import SortableStiffghost from 'sortablejs-stiffghost';

Usage

<ul id="items">
	<li>item 1</li>
	<li>item 2</li>
	<li>item 3</li>
</ul>
var el = document.getElementById('items');
new SortableStiffghost.create(el, {
	stiffGhost: true,
	forceFallback: true, // 这个参数必须要
});

Package Sidebar

Install

npm i sortablejs-stiffghost

Weekly Downloads

11

Version

1.15.1

License

MIT

Unpacked Size

525 kB

Total Files

8

Last publish

Collaborators

  • lipaji