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 b8d2b62 commit 2c9549fCopy full SHA for 2c9549f
README.md
@@ -54,6 +54,8 @@ var App = React.createClass({
54
//
55
// `grid` specifies the x and y that dragging should snap to.
56
57
+ // `start` specifies the x and y that the dragged item should start at
58
+ //
59
// `zIndex` specifies the zIndex to use while dragging.
60
61
// `onStart` is called when dragging starts.
@@ -66,6 +68,7 @@ var App = React.createClass({
66
68
axis="x"
67
69
handle=".handle"
70
grid={[25, 25]}
71
+ start={{x: 25, y: 25}}
72
zIndex={100}
73
onStart={this.handleStart}
74
onDrag={this.handleDrag}
0 commit comments