findDomNode function

Element? findDomNode(
  1. dynamic instance
)

Returns the DOM node associated with a mounted React component instance, which can be a ReactComponent/Element or react.Component2.

This method simply wraps react.findDOMNode with strong typing for the return value (and for the function itself, which is declared using var in react-dart).

Implementation

Element? findDomNode(dynamic instance) => react_dom.findDOMNode(instance) as Element?;