From 2c9549f198b875f2d9a0e6bb6a6b97e212eab6f4 Mon Sep 17 00:00:00 2001 From: mzabriskie Date: Wed, 10 Sep 2014 00:16:34 -0600 Subject: [PATCH] Updating README --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index f4cd8c08..d733ffcb 100644 --- a/README.md +++ b/README.md @@ -54,6 +54,8 @@ var App = React.createClass({ // // `grid` specifies the x and y that dragging should snap to. // + // `start` specifies the x and y that the dragged item should start at + // // `zIndex` specifies the zIndex to use while dragging. // // `onStart` is called when dragging starts. @@ -66,6 +68,7 @@ var App = React.createClass({ axis="x" handle=".handle" grid={[25, 25]} + start={{x: 25, y: 25}} zIndex={100} onStart={this.handleStart} onDrag={this.handleDrag}