scryRenderedDOMComponentsWithTag function

  1. @JS('React.addons.TestUtils.scryRenderedDOMComponentsWithTag')
List scryRenderedDOMComponentsWithTag(
  1. dynamic tree,
  2. String tagName
)

Finds all instances of components in the rendered tree that are DOM components with the tag name matching tagName.

Implementation

@JS('React.addons.TestUtils.scryRenderedDOMComponentsWithTag')

/// Finds all instances of components in the rendered tree that are DOM
/// components with the tag name matching tagName.
external List<dynamic> scryRenderedDOMComponentsWithTag(/* [1] */ tree, String tagName);