diff --git a/README.md b/README.md index d536ad8..65cebb2 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,12 @@ This helper can accept `application/json` mime type in which case it will `JSON. Calls `event.preventDefault()`. +To allow a drop, we must prevent the default handling of the element in `ondragover`. + +```hbs +
+``` + ## `(stop-propagating) Calls `event.stopPropagating()`. @@ -65,4 +71,4 @@ For more information on using ember-cli, visit [http://ember-cli.com/](http://em ## Credits -Thank you Miguel Camba for suggesting to try doing drag and drop with pure events. \ No newline at end of file +Thank you Miguel Camba for suggesting to try doing drag and drop with pure events.