scryRenderedDOMComponentsWithClass function

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

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

Implementation

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

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