File tree 1 file changed +17
-12
lines changed
1 file changed +17
-12
lines changed Original file line number Diff line number Diff line change 2
2
3
3
---
4
4
5
- ###v1.0.5 - breaking change
6
- Do not pass evaluated expressions in callbacks. For example,
7
- ####Before:
8
- ```
9
- <div jqyoui-draggable="{onStart:'startCallback({{item}})'}">{{item.title}}</div>
10
- ```
11
- ####After:
12
- ```
13
- <div jqyoui-draggable="{onStart:'startCallback(item)'}">{{item.title}}</div>
14
- ```
5
+ Implementing jQueryUI Drag and Drop functionality in AngularJS is easier than ever which is a wrapper for jQueryUI draggable/droppable components.
15
6
16
7
##How to Use
17
8
18
- * bower install angular-dragdrop (or sudo bower install angular-dragdop --allow-root)
19
- * Reference angular-dragdrop.min.js in your application as:
9
+ * ` bower install angular-dragdrop ` (or ` sudo bower install angular-dragdop --allow-root ` )
10
+ * Reference ` angular-dragdrop.min.js ` in your application as:
11
+
20
12
```
21
13
<script src="components/angular-dragdrop/src/angular-dragdrop.min.js"></script>
22
14
```
23
15
* Resolve the dependency in the main module of your application as:
16
+
24
17
```
25
18
angular.module('myApp', ['ngDragDrop'])
26
19
```
27
20
28
21
* Drag anything as:
22
+
29
23
```
30
24
<span data-drag="true" jqyoui-draggable>So you think you can drag</span>
31
25
```
@@ -69,6 +63,17 @@ angular.module('myApp', ['ngDragDrop'])
69
63
##Demo
70
64
Demo is [ here] ( http://codef0rmer.github.io/angular-dragdrop/#/ )
71
65
66
+ ###v1.0.5 - breaking change
67
+ Do not pass evaluated expressions in callbacks. For example,
68
+ ####Before:
69
+ ```
70
+ <div jqyoui-draggable="{onStart:'startCallback({{item}})'}">{{item.title}}</div>
71
+ ```
72
+ ####After:
73
+ ```
74
+ <div jqyoui-draggable="{onStart:'startCallback(item)'}">{{item.title}}</div>
75
+ ```
76
+
72
77
## Support
73
78
If you're having problems with using the project, use the support forum at CodersClan.
74
79
You can’t perform that action at this time.
0 commit comments