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 464e74e commit bf0f384Copy full SHA for bf0f384
example/main.js
@@ -42,6 +42,16 @@ var App = React.createClass({
42
onStop={this.handleStop}>
43
<div className="box">I can only be dragged vertically</div>
44
</Draggable>
45
+ <Draggable
46
+ handle="strong"
47
+ onStart={this.handleStart}
48
+ onDrag={this.handleDrag}
49
+ onStop={this.handleStop}>
50
+ <div className="box">
51
+ <strong>Handle</strong>
52
+ <div>You must click my handle to drag me</div>
53
+ </div>
54
+ </Draggable>
55
</div>
56
);
57
}
0 commit comments