Skip to content

Commit

Permalink
Fix in docs: getDOMNode --> findDOMNode
Browse files Browse the repository at this point in the history
  • Loading branch information
waldreiter committed Mar 12, 2015
1 parent 1f72387 commit 84e6a39
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 84e6a39

Please sign in to comment.