@ppci-mock/sortable-list
v1.2.21
Published
Sortable list
Downloads
2
Keywords
Readme
Sortable list
Table of contents
Installation
NPM
npm i @ppci-mock/sortable-list
// Polyfill: https://lit-element.polymer-project.org/guide/use#polyfills
npm i --save-dev @webcomponents/webcomponentsjs
Usage
Javascript
import '@ppci-mock/sortable-list'
Browser
<!-- Default -->
<script type="module" src="https://cdn.jsdelivr.net/npm/@ppci-mock/sortable-list/builds/index.min.js" />
<!-- Legacy -->
<script type="module" src="https://cdn.jsdelivr.net/npm/@ppci-mock/sortable-list/builds/legacy.min.js" />
<!-- Component -->
<sortable-list
.items=${Array}
handleClass=".drag-handle"
></sortable-list>
Properties
**Make sure** to prefix classname with a dot.
</td>
<td></td>