Skip to content

Commit

Permalink
Expose browser DragDropEffects as constants
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon committed Oct 25, 2014
1 parent 884ada4 commit 6b3b925
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
8 changes: 8 additions & 0 deletions modules/constants/DragDropEffects.js
@@ -0,0 +1,8 @@
'use strict';

var DragDropEffects = {
COPY: 'copy',
MOVE: 'move'
};

module.exports = DragDropEffects;
3 changes: 2 additions & 1 deletion modules/index.js
Expand Up @@ -5,5 +5,6 @@ module.exports = {
ImagePreloaderMixin: require('./mixins/ImagePreloaderMixin'),
HorizontalDragAnchors: require('./constants/HorizontalDragAnchors'),
VerticalDragAnchors: require('./constants/VerticalDragAnchors'),
NativeDragItemTypes: require('./constants/NativeDragItemTypes')
NativeDragItemTypes: require('./constants/NativeDragItemTypes'),
DragDropEffects: require('./constants/DragDropEffects')
};

0 comments on commit 6b3b925

Please sign in to comment.