projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
244eccc
)
Roo/dd/DropTarget.js
author
Alan Knowles
<alan@roojs.com>
Thu, 11 Mar 2021 07:15:12 +0000
(15:15 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 11 Mar 2021 07:15:12 +0000
(15:15 +0800)
Roo/dd/DropTarget.js
patch
|
blob
|
history
diff --git
a/Roo/dd/DropTarget.js
b/Roo/dd/DropTarget.js
index
5595f21
..
7d05df6
100644
(file)
--- a/
Roo/dd/DropTarget.js
+++ b/
Roo/dd/DropTarget.js
@@
-43,7
+43,7
@@
Roo.dd.DropTarget = function(el, config){
* target. This default implementation adds the CSS class specified by overClass (if any) to the drop element
* and returns the dropAllowed config value. This method should be overridden if drop validation is required.
*
* target. This default implementation adds the CSS class specified by overClass (if any) to the drop element
* and returns the dropAllowed config value. This method should be overridden if drop validation is required.
*
- * IMPORTANT : it should set
this.overClass and this.dropAllowed
+ * IMPORTANT : it should set
this.valid to true|false
*
* @param {Roo.dd.DragSource} source The drag source that was dragged over this drop target
* @param {Event} e The event
*
* @param {Roo.dd.DragSource} source The drag source that was dragged over this drop target
* @param {Event} e The event
@@
-57,7
+57,7
@@
Roo.dd.DropTarget = function(el, config){
* This method will be called on every mouse movement while the drag source is over the drop target.
* This default implementation simply returns the dropAllowed config value.
*
* This method will be called on every mouse movement while the drag source is over the drop target.
* This default implementation simply returns the dropAllowed config value.
*
- * IMPORTANT : it should set
this.dropAllowed
+ * IMPORTANT : it should set
this.valid to true|false
*
* @param {Roo.dd.DragSource} source The drag source that was dragged over this drop target
* @param {Event} e The event
*
* @param {Roo.dd.DragSource} source The drag source that was dragged over this drop target
* @param {Event} e The event
@@
-71,6
+71,7
@@
Roo.dd.DropTarget = function(el, config){
* out of the target without dropping. This default implementation simply removes the CSS class specified by
* overClass (if any) from the drop element.
*
* out of the target without dropping. This default implementation simply removes the CSS class specified by
* overClass (if any) from the drop element.
*
+ *
* @param {Roo.dd.DragSource} source The drag source that was dragged over this drop target
* @param {Event} e The event
* @param {Object} data An object containing arbitrary data supplied by the drag source
* @param {Roo.dd.DragSource} source The drag source that was dragged over this drop target
* @param {Event} e The event
* @param {Object} data An object containing arbitrary data supplied by the drag source