Skip to content

Commit

Permalink
Merge pull request #3394 from cody/getDOMNode
Browse files Browse the repository at this point in the history
Fix in docs: getDOMNode --> findDOMNode
  • Loading branch information
zpao committed Mar 12, 2015
2 parents 1f72387 + 84e6a39 commit d196362
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/ref-01-top-level-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ Verifies the object is a ReactElement.
```javascript
DOMElement findDOMNode(ReactComponent component)
```
If this component has been mounted into the DOM, this returns the corresponding native browser DOM element. This method is useful for reading values out of the DOM, such as form field values and performing DOM measurements. When `render` returns `null` or `false`, `this.getDOMNode()` returns `null`.
If this component has been mounted into the DOM, this returns the corresponding native browser DOM element. This method is useful for reading values out of the DOM, such as form field values and performing DOM measurements. When `render` returns `null` or `false`, `findDOMNode` returns `null`.


### React.DOM
Expand Down

0 comments on commit d196362

Please sign in to comment.