buttonwoodcx / bcx-aurelia-reorderable-repeat

An Aurelia repeater supports drag & drop reordering automatically.
https://buttonwoodcx.github.io/doc-bcx-aurelia-dnd/reorderable-repeat
MIT License
19 stars 5 forks source link
aurelia reorder reorderable-repeat reordering

bcx-aurelia-reorderable-repeat CI

An Aurelia repeater supports drag & drop reordering automatically.

https://buttonwoodcx.github.io/doc-bcx-aurelia-dnd/reorderable-repeat

Install Package

npm i bcx-aurelia-reorderable-repeat or yarn add bcx-aurelia-reorderable-repeat

Usage

In your main.js file

aurelia.use.plugin(PLATFORM.moduleName('bcx-aurelia-reorderable-repeat'));

Simply use reorderable-repeat.for="item of items" in your view template. That's it!