Constants Summery | |
---|---|
Number | #COPY Constant for copy drag operation. |
Number | #MOVE Constant for move drag operation. |
Number | #NONE Constant for no drag operation. |
Constants Details |
---|
COPY |
Constant for copy drag operation. |
Returns Number |
Samplefunction startDrag(event) { if(event.getElementName() == "copy") return DRAGNDROP.COPY; else if(event.getElementName() == "move") return DRAGNDROP.MOVE return DRAGNDROP.NONE; } |
MOVE |
Constant for move drag operation. |
Returns Number |
Samplefunction startDrag(event) { if(event.getElementName() == "copy") return DRAGNDROP.COPY; else if(event.getElementName() == "move") return DRAGNDROP.MOVE return DRAGNDROP.NONE; } |
NONE |
Constant for no drag operation. |
Returns Number |
Samplefunction startDrag(event) { if(event.getElementName() == "copy") return DRAGNDROP.COPY; else if(event.getElementName() == "move") return DRAGNDROP.MOVE return DRAGNDROP.NONE; } |