You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
***jqyoui-draggable** – A custom angular attribute to make any element draggable. It holds more settings such as:
49
-
***index** – number – $index of an item of a model (if it is an array) associated with it
50
-
***placeholder** – boolean/string – If true, the place will be occupied even though a dragggable is moved/dropped somewhere else. If 'keep' is supplied, the original item won't be removed from the draggable.
51
-
***animate** – boolean – If true, draggable will be animated towards droppable when dropped. If multiple is not set to true on droppable then its draggable will swap its position.
52
-
***onStart** – string – callback method to be invoked (has to be defined in a controller) when dragging starts
53
-
***onStop** – string – callback method to be invoked when dragging stops
54
-
***onDrag** – string – callback method to be invoked while the mouse is moved during the dragging
55
-
***applyFilter** - string - applies AngularJS $filter on the list before swapping items. Only applicable, if ngRepeat has any filter (such as orderBy, limitTo) associated with it.
56
-
***containment** – string - position/offset. Offset by default. This forces to use jQuery.position() or jQuery.offset() to calculate proper position with respect to parent element or document respectively.
57
-
***deepCopy** - boolean (optional) – If true, makes a deep copy of draggable that looses prototypical inheritance.
58
-
***beforeDrop** – promise (optional) – Ask for confirmation before swapping. Works with both window.confirm and custom popup.
59
-
***insertInline** – boolean(optional) – Make a list sortable. Same model is mandatory for draggable and droppable.
60
-
***direction** – string(optional) – Property name that will be created on each scope to manage animation direction.
49
+
***index** – number – $index of an item of a model (if it is an array) associated with it
50
+
***placeholder** – boolean/string – If true, the place will be occupied even though a dragggable is moved/dropped somewhere else. If 'keep' is supplied, the original item won't be removed from the draggable.
51
+
***animate** – boolean – If true, draggable will be animated towards droppable when dropped. If multiple is not set to true on droppable then its draggable will swap its position.
52
+
***onStart** – string – callback method to be invoked (has to be defined in a controller) when dragging starts
53
+
***onStop** – string – callback method to be invoked when dragging stops
54
+
***onDrag** – string – callback method to be invoked while the mouse is moved during the dragging
55
+
***applyFilter** - string - applies AngularJS $filter on the list before swapping items. Only applicable, if ngRepeat has any filter (such as orderBy, limitTo) associated with it.
56
+
***containment** – string - position/offset. Offset by default. This forces to use jQuery.position() or jQuery.offset() to calculate proper position with respect to parent element or document respectively.
57
+
***deepCopy** - boolean (optional) – If true, makes a deep copy of draggable that looses prototypical inheritance.
58
+
***beforeDrop** – promise (optional) – Ask for confirmation before swapping. Works with both window.confirm and custom popup.
59
+
***insertInline** – boolean(optional) – Make a list sortable. Same model is mandatory for draggable and droppable.
60
+
***direction** – string(optional) – Property name that will be created on each scope to manage animation direction.
61
61
***data-drag** – boolean – If true, element can be draggable. Disabled otherwise.
62
62
***data-jqyoui-options** – object – should hold all the valid options supported by [jQueryUI Draggable](http://api.jqueryui.com/draggable)
63
63
***ng-model** – string – An angular model defined in a controller. Should be a JS array or object
64
64
65
65
## Angular Droppable options
66
66
***jqyoui-droppable** – A custom angular attribute to make any element droppable. It holds more settings such as:
67
-
***index** – number – $index of an item of a model (if it is an array) associated with it
68
-
***multiple** – boolean – Requires to be true only if animate is set to true for draggable and to avoid swapping.
69
-
***stack** – boolean – Requires if animate is set to true on draggable and if multiple draggables positioned one below the other
70
-
***onDrop** – string – callback method to be invoked a draggable is dropped into the droppable
71
-
***onOver** – string – callback method to be invoked when an accepted draggable is dragged over the droppable
72
-
***onOut** – string – callback method to be invoked when an accepted draggable is dragged out of the droppable
73
-
***applyFilter** - string - requires if both droppable as well as draggable share the same ngModel.
74
-
***containment** – string - position/offset. Offset by default. This forces to use jQuery.position() or jQuery.offset() to calculate proper position with respect to parent element or document respectively.
75
-
***deepCopy** – boolean (optional) – If true, makes a deep copy of droppable that looses prototypical inheritance.
76
-
***beforeDrop** – promise (optional) – Ask for confirmation before dropping. Works with both window.confirm and custom popup.
67
+
***index** – number – $index of an item of a model (if it is an array) associated with it
68
+
***multiple** – boolean – Requires to be true only if animate is set to true for draggable and to avoid swapping.
69
+
***stack** – boolean – Requires if animate is set to true on draggable and if multiple draggables positioned one below the other
70
+
***onDrop** – string – callback method to be invoked a draggable is dropped into the droppable
71
+
***onOver** – string – callback method to be invoked when an accepted draggable is dragged over the droppable
72
+
***onOut** – string – callback method to be invoked when an accepted draggable is dragged out of the droppable
73
+
***applyFilter** - string - requires if both droppable as well as draggable share the same ngModel.
74
+
***containment** – string - position/offset. Offset by default. This forces to use jQuery.position() or jQuery.offset() to calculate proper position with respect to parent element or document respectively.
75
+
***deepCopy** – boolean (optional) – If true, makes a deep copy of droppable that looses prototypical inheritance.
76
+
***beforeDrop** – promise (optional) – Ask for confirmation before dropping. Works with both window.confirm and custom popup.
77
77
***data-drop** – boolean – If true, element can be droppable. Disabled otherwise.
78
78
***data-jqyoui-options** – object – should hold all the valid options supported by [jQueryUI Droppable](http://api.jqueryui.com/droppable)
79
79
***ng-model** – string – An angular model defined in a controller. Should be a JS array or object.
0 commit comments