Skip to content

Commit 2c9549f

Browse files
committed
Updating README
1 parent b8d2b62 commit 2c9549f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ var App = React.createClass({
5454
//
5555
// `grid` specifies the x and y that dragging should snap to.
5656
//
57+
// `start` specifies the x and y that the dragged item should start at
58+
//
5759
// `zIndex` specifies the zIndex to use while dragging.
5860
//
5961
// `onStart` is called when dragging starts.
@@ -66,6 +68,7 @@ var App = React.createClass({
6668
axis="x"
6769
handle=".handle"
6870
grid={[25, 25]}
71+
start={{x: 25, y: 25}}
6972
zIndex={100}
7073
onStart={this.handleStart}
7174
onDrag={this.handleDrag}

0 commit comments

Comments
 (0)