|
@ -21,7 +21,7 @@ Example usage: |
|
|
```javascript |
|
|
```javascript |
|
|
var node = this.refs.input.getDOMNode(); |
|
|
var node = this.refs.input.getDOMNode(); |
|
|
React.addons.TestUtils.Simulate.click(node); |
|
|
React.addons.TestUtils.Simulate.click(node); |
|
|
React.addons.TestUtils.Simulate.change(node); |
|
|
React.addons.TestUtils.Simulate.change(node, {target: {value: 'Hello, world'}}); |
|
|
React.addons.TestUtils.Simulate.keyDown(node, {key: "Enter"}); |
|
|
React.addons.TestUtils.Simulate.keyDown(node, {key: "Enter"}); |
|
|
``` |
|
|
``` |
|
|
|
|
|
|
|
|