Skip to content

Commit

Permalink
Merge pull request #114 from paschty/master
Browse files Browse the repository at this point in the history
added some documentation for ng-drag-handle
  • Loading branch information
fatlinesofcode committed Apr 17, 2015
2 parents b378053 + 0979448 commit 46df17e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ Draggable usage:
Draggable div
</div>
```
Note: ng-center-anchor is optional. If not specified, it defaults to false.

* `ng-center-anchor` is optional. If not specified, it defaults to false.
* If the draggable is also clickable (ng-click, ng-dblclick) the script wont react.
* You can define a drag-button as child with the attribute `ng-drag-handle`.

```ng-drag-start``` and ```ng-drag-move``` is also available. Add to the ng-drop element.
``ng-drag-stop`` can be used when you want to react to the user dragging an item and it wasn't dropped into the target container.
Expand Down

0 comments on commit 46df17e

Please sign in to comment.