From ab4b018a44e8600e9cde77fe6d3e51515041faf4 Mon Sep 17 00:00:00 2001 From: Michael Malone Date: Sat, 19 Mar 2016 11:52:17 +1300 Subject: [PATCH] Updated Readme add a note in Usage to tell people that aurelia works weird and we have to adapt --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index cdb520f..4600c68 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,8 @@ import {Dragula} from 'aurelia-dragula'; let dragula = new Dragula(); ``` +Because of the way aurelia works, it is recommended that the `dragend` event is subscribed to and `cancel` is then called, doing the manipulation of the view-models in JavaScript and letting aurelia re-render the changes. This is not only recommended, but vital inside of a `repeat.for`. + ###Options `import {Options} from 'aurelia-dragula;`