getDOMNode

getDOMNode

DOMElement getDOMNode()

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.

getDOMNode is deprecated and has been replaced with ReactDOM.findDOMNode().

This method is not available on ES6 class components that extend React.Component. It may be removed entirely in a future version of React.

doc_React
2016-06-23 03:32:01
Comments
Leave a Comment

Please login to continue.