We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1b7f5d commit 9ae85b8Copy full SHA for 9ae85b8
README.md
@@ -50,6 +50,8 @@ var App = React.createClass({
50
//
51
// `cancel` specifies a selector to be used to prevent drag initialization.
52
53
+ // `grid` specifies the x and y that dragging should snap to.
54
+ //
55
// `zIndex` specifies the zIndex to use while dragging.
56
57
// `onStart` is called when dragging starts.
@@ -61,6 +63,7 @@ var App = React.createClass({
61
63
<Draggable
62
64
axis="x"
65
handle=".handle"
66
+ grid={[25, 25]}
67
zIndex={100}
68
onStart={this.handleStart}
69
onDrag={this.handleDrag}
0 commit comments