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 extendReact.Component
. It may be removed entirely in a future version of React.
Please login to continue.